History

JS
1.1
abstract class History
(source)

Exposes the JavaScript History to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript History to Kotlin

History()

Properties

JS
1.1

length

open val length: Int
JS
1.1

scrollRestoration

open var scrollRestoration: ScrollRestoration
JS
1.1

state

open val state: Any?

Functions

JS
1.1

back

fun back()
JS
1.1

forward

fun forward()
JS
1.1

go

fun go(delta: Int = definedExternally)
JS
1.1

pushState

fun pushState(
    data: Any?,
    title: String,
    url: String? = definedExternally)
JS
1.1

replaceState

fun replaceState(
    data: Any?,
    title: String,
    url: String? = definedExternally)