replaceState

fun replaceState(data: JsAny?, unused: String, url: String? = definedExternally)(source)

The replaceState() method of the History interface modifies the current history entry, replacing it with the state object and URL passed in the method parameters.

MDN Reference


fun replaceState(data: JsAny?, unused: String, url: URL?)(source)