Packages

class URL extends Object

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

MDN

Annotations
@JSType() @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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new URL(url: String, base: String = js.native)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  11. 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

  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. 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

  14. var hostname: String

    Is a DOMString containing the domain of the URL.

    Is a DOMString containing the domain of the URL.

    MDN

  15. var href: String

    Is a DOMString containing the whole URL.

    Is a DOMString containing the whole URL.

    MDN

  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. 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

  22. 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

  23. 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

  24. var port: String

    Is a DOMString containing the port number of the URL.

    Is a DOMString containing the port number of the URL.

    MDN

  25. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  26. 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

  27. 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

  28. var searchParams: URLSearchParams
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toLocaleString(): String
    Definition Classes
    Object
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. 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

  33. def valueOf(): Any
    Definition Classes
    Object
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped