[][src]Module polyhorn_ui::events

Technical implementation of Pointer Events Module Level 3 (WD).

Structs

EventListener

Wraps a closure into a event listener that events can be emitted to. It acts mostly like an optional reference-counted closure, but it is easier to work with. Most importantly, the emit function silently ignores events emitted to unbound event listeners.