Const
Symbol which will terminate event handling if returned by any of the functions in the ops chain of an event handler created with eventHandler.
eventHandler
const keyEventBreaker = (e: KeyboardEvent) => (e.key !== key)? END: ''; Copy
const keyEventBreaker = (e: KeyboardEvent) => (e.key !== key)? END: '';
Symbol which will terminate event handling if returned by any of the functions in the ops chain of an event handler created with
eventHandler
.