pota/use/event

pota/use/event collects small, low-level helpers for working with DOM events: stop helpers you can drop into on:* handlers, a CustomEvent emitter, a promise-based waitEvent, and explicit addEventListener / removeEventListener wrappers that accept options objects. (For JSX events the on:* prop is already idiomatic — reach here for listeners on window / document / manually-acquired nodes.)

Exports