ToggleEvent
open class ToggleEvent(val type: EventType<ToggleEvent>, init: ToggleEventInit = definedExternally) : Event(source)
The ToggleEvent
interface represents an event notifying the user an Element's state has changed.
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
The newState
read-only property of the ToggleEvent interface is a string representing the state the element is transitioning to.
Link copied to clipboard
Link copied to clipboard
The oldState
read-only property of the ToggleEvent interface is a string representing the state the element is transitioning from.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard