org.scalajs.dom.raw

Location

Related Doc: package raw

trait Location extends Object

The Location interface represents the location of the object it is linked to. Changes done on it are reflected on the object it relates to. Both the Document and Window interface have such a linked Location, accessible via Document.location and Window.location respectively.

MDN

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

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 assign(url: String): Unit

    The Location.assign()method loading the object at the URL providing in parameter.

    The Location.assign()method loading the object at the URL providing in parameter.

    MDN

  6. def clone(): AnyRef

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

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

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

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

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

    Definition Classes
    Object
  12. 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

  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. 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

  15. var hostname: String

    Is a DOMString containing the domain of the URL.

    Is a DOMString containing the domain of the URL.

    MDN

  16. var href: String

    Is a DOMString containing the whole URL.

    Is a DOMString containing the whole URL.

    MDN

  17. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  22. def origin: String

    Theorigin read-only property is a String containing the Unicode serialization of the origin of the represented URL, that is, for http and https, the scheme followed by '://', followed by the domain, followed by ':', followed by the port (the default port, 80 and 443 respectively, if explicitely specified).

    Theorigin read-only property is a String containing the Unicode serialization of the origin of the represented URL, that is, for http and https, the scheme followed by '://', followed by the domain, followed by ':', followed by the port (the default port, 80 and 443 respectively, if explicitely specified). For URL using file: scheme, the value is browser dependant.

    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. def reload(flag: Boolean = js.native): Unit

    The Location.reload()method Reloads the resource from the current URL.

    The Location.reload()method Reloads the resource from the current URL. Its optional unique parameter is a Boolean, which, when it is true, causes the page to always be reloaded from the server. If it is false or not specified, the browser may reload the page from its cache.

    MDN

  28. def replace(url: String): Unit

    The Location.replace()method replaces the current resource with the one at the provided URL.

    The Location.replace()method replaces the current resource with the one at the provided URL. The difference from the assign() method is that after using replace() the current page will not be saved in session History, meaning the user won't be able to use the back button to navigate to it.

    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. 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( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped