Object

io.scalajs.dom.html.browser

location

Related Doc: package browser

Permalink

object location extends Location

Annotations
@native() @JSName( "location" )
Linear Supertypes
Location, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. location
  2. Location
  3. Object
  4. Any
  5. AnyRef
  6. 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

    Loads the resource at the URL provided in parameter.

    Loads the resource at the URL provided in parameter.

    Definition Classes
    Location
  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.

    Definition Classes
    Location
  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.

    Definition Classes
    Location
  15. var hostname: String

    Permalink

    Is a DOMString containing the domain of the URL.

    Is a DOMString containing the domain of the URL.

    Definition Classes
    Location
  16. var href: String

    Permalink

    Is a DOMString containing the entire URL.

    Is a DOMString containing the entire URL. If changed, the associated document navigates to the new page. It can be set from a different origin than the associated document.

    Definition Classes
    Location
  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: String

    Permalink

    Read-only: Returns a DOMString containing the canonical form of the origin of the specific location.

    Read-only: Returns a DOMString containing the canonical form of the origin of the specific location.

    Definition Classes
    Location
  23. var password: String

    Permalink

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

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

    Definition Classes
    Location
  24. 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.

    Definition Classes
    Location
  25. var port: String

    Permalink

    Is a DOMString containing the port number of the URL.

    Is a DOMString containing the port number of the URL.

    Definition Classes
    Location
  26. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  27. 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 ':'.

    Definition Classes
    Location
  28. def reload(forcedReload: Boolean = js.native): Unit

    Permalink

    Reloads the resource from the current URL.

    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.

    forcedReload

    Optional: Is a Boolean flag, 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.

    Definition Classes
    Location
  29. def replace(url: String): Unit

    Permalink

    Replaces the current resource with the one at the provided URL.

    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.

    Definition Classes
    Location
  30. 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. Also known as "querystring".

    Definition Classes
    Location
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. var username: String

    Permalink

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

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

    Definition Classes
    Location
  35. def valueOf(): Any

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

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

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

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

Inherited from Location

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped