Location

abstract external class Location (source)

Platform and version requirements: JS

Exposes the JavaScript Location to Kotlin

Constructors

<init>

Location()

Exposes the JavaScript Location to Kotlin

Properties

ancestorOrigins

open val ancestorOrigins: Array<out String>

hash

open var hash: String

host

open var host: String

hostname

open var hostname: String

href

open var href: String

origin

open val origin: String

pathname

open var pathname: String

port

open var port: String

protocol

open var protocol: String

search

open var search: String

Functions

assign

fun assign(url: String)

reload

fun reload()

replace

fun replace(url: String)

Inherited Functions

equals

open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

hashCode

open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

toString

open fun toString(): String

Returns a string representation of the object.