History

abstract external class History

Exposes the JavaScript History to Kotlin

Constructors

History
Link copied to clipboard
fun History()

Functions

back
Link copied to clipboard
fun back()
forward
Link copied to clipboard
fun forward()
go
Link copied to clipboard
fun go(delta: Int = definedExternally)
pushState
Link copied to clipboard
fun pushState(data: Any?, title: String, url: String? = definedExternally)
replaceState
Link copied to clipboard
fun replaceState(data: Any?, title: String, url: String? = definedExternally)

Properties

length
Link copied to clipboard
open val length: Int
scrollRestoration
Link copied to clipboard
open var scrollRestoration: ScrollRestoration
state
Link copied to clipboard
open val state: Any?