changesIf

open fun changesIf(selector: Event.() -> Boolean): Listener<Event, T>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Return

a Listener that emits Events on its Flow

Parameters

selector

expression to evaluate, which specific event should be emitted to the Flow. It is also possible and encouraged to manipulate the event dispatching by calling stopPropagation or similar DOM-API.