All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jsMain.web.history.HashChangeEvent.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package web.history

import web.events.Event
import web.events.EventInit
import web.events.EventType

external interface HashChangeEventInit : EventInit {
    var newURL: String?
    var oldURL: String?
}

open external class HashChangeEvent(
    override val type: EventType,
    init: HashChangeEventInit = definedExternally,
) : Event {
    /** Returns the URL of the session history entry that is now current. */
    val newURL: String

    /** Returns the URL of the session history entry that was previously current. */
    val oldURL: String

    companion object
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy