Location

abstract external class Location(source)

Exposes the JavaScript Location to Kotlin

Since Kotlin

1.1

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Since Kotlin 1.1
Link copied to clipboard
open var hash: String
Since Kotlin 1.1
Link copied to clipboard
open var host: String
Since Kotlin 1.1
Link copied to clipboard
open var hostname: String
Since Kotlin 1.1
Link copied to clipboard
open var href: String
Since Kotlin 1.1
Link copied to clipboard
open val origin: String
Since Kotlin 1.1
Link copied to clipboard
open var pathname: String
Since Kotlin 1.1
Link copied to clipboard
open var port: String
Since Kotlin 1.1
Link copied to clipboard
open var protocol: String
Since Kotlin 1.1
Link copied to clipboard
open var search: String
Since Kotlin 1.1

Functions

Link copied to clipboard
fun assign(url: String)
Since Kotlin 1.1
Link copied to clipboard
fun reload()
Since Kotlin 1.1
Link copied to clipboard
fun replace(url: String)
Since Kotlin 1.1