focusoutsIf

open fun focusoutsIf(selector: FocusEvent.() -> Boolean): Listener<FocusEvent, T>

occurs when an element is about to lose focus

Return

a Listener that emits FocusEvents 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.