org.scalajs.dom.experimental

URL

class URL extends Object

The URL() constructor returns a newly created URL object representing the URL defined by the parameters.

MDN

Annotations
@RawJSType() @native() @JSGlobal()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. URL
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new URL(url: String, base: String = scala.scalajs.js.`package`.native)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  13. var hash: String

    Is a DOMString containing a '#' followed by the fragment identifier of the URL.

    Is a DOMString containing a '#' followed by the fragment identifier of the URL.

    MDN

  14. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  15. var host: String

    Is a DOMString containing the host, that is the hostname, a ':', and the port of the URL.

    Is a DOMString containing the host, that is the hostname, a ':', and the port of the URL.

    MDN

  16. var hostname: String

    Is a DOMString containing the domain of the URL.

    Is a DOMString containing the domain of the URL.

    MDN

  17. var href: String

    Is a DOMString containing the whole URL.

    Is a DOMString containing the whole URL.

    MDN

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def origin: String

    Returns a DOMString containing the origin of the URL, that is its scheme, its domain and its port.

    Returns a DOMString containing the origin of the URL, that is its scheme, its domain and its port.

    MDN

  24. var password: String

    Is a DOMString containing the password specified before the domain name.

    Is a DOMString containing the password specified before the domain name.

    MDN

  25. var pathname: String

    Is a DOMString containing an initial '/' followed by the path of the URL.

    Is a DOMString containing an initial '/' followed by the path of the URL.

    MDN

  26. var port: String

    Is a DOMString containing the port number of the URL.

    Is a DOMString containing the port number of the URL.

    MDN

  27. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  28. var protocol: String

    Is a DOMString containing the protocol scheme of the URL, including the final ':'.

    Is a DOMString containing the protocol scheme of the URL, including the final ':'.

    MDN

  29. var search: String

    Is a DOMString containing a '?' followed by the parameters of the URL.

    Is a DOMString containing a '?' followed by the parameters of the URL.

    MDN

  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toLocaleString(): String

    Definition Classes
    Object
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. var username: String

    Is a DOMString containing the username specified before the domain name.

    Is a DOMString containing the username specified before the domain name.

    MDN

  34. def valueOf(): Any

    Definition Classes
    Object
  35. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped