Trait

org.scalajs.dom.raw

Location

Related Doc: package raw

Permalink

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

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def assign(url: String): Unit

    Permalink

    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

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

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

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

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

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

    Permalink
    Definition Classes
    Object
  12. var hash: String

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef → Any
  14. var host: String

    Permalink

    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

    Permalink

    Is a DOMString containing the domain of the URL.

    Is a DOMString containing the domain of the URL.

    MDN

  16. var href: String

    Permalink

    Is a DOMString containing the whole URL.

    Is a DOMString containing the whole URL.

    MDN

  17. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def origin: UndefOr[String]

    Permalink

    The origin 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 explicitly specified).

    The origin 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 explicitly specified). For URL using file: scheme, the value is browser dependant.

    This property also does not exist consistently on IE, even as new as IE11, hence it must be UndefOr.

    MDN

  23. var pathname: String

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    Object
  26. var protocol: String

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  31. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  34. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped