gh-pages / com.nextfaze.devfun.internal / KeyEventListener

KeyEventListener

typealias KeyEventListener = (event: KeyEvent) -> Boolean (source)

Function signature of a listener for Window key events.

Return Flag indicating if the event should be consumed (not forwarded to the system level handler). i.e. true will block propagation. All key event listeners will receive the event even if one of them returns true.

See Also

WindowCallbacks.addKeyEventListener

WindowCallbacks.removeKeyEventListener