Location

abstract class Location : JsAny

Exposes the JavaScript Location to Kotlin

Constructors

Link copied to clipboard
constructor()

Properties

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

Functions

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