toggles

open fun toggles(init: Event.() -> Unit): Listener<Event, T>

occurs when the user opens or closes the

element

Return

a Listener that emits Events on its Flow

Parameters

init

expression to manipulate the event dispatching like calling stopPropagation or similar DOM-API.


open val toggles: Listener<Event, T>

occurs when the user opens or closes the

element