Module
Halogen.Query.Event
- Package
- purescript-halogen
- Repository
- purescript-halogen/purescript-halogen
#eventListener Source
eventListener :: forall a. EventType -> EventTarget -> (Event -> Maybe a) -> Emitter a
Constructs an Emitter
for a DOM event. Accepts a function that maps event
values to a Maybe
-wrapped action, allowing it to filter events if
necessary.
- Modules
- Halogen
- Halogen.
Aff - Halogen.
Aff. Driver - Halogen.
Aff. Driver. Eval - Halogen.
Aff. Driver. State - Halogen.
Aff. Util - Halogen.
Component - Halogen.
Component. Profunctor - Halogen.
Data. OrdBox - Halogen.
Data. Slot - Halogen.
HTML - Halogen.
HTML. Core - Halogen.
HTML. Elements - Halogen.
HTML. Elements. Keyed - Halogen.
HTML. Events - Halogen.
HTML. Properties - Halogen.
HTML. Properties. ARIA - Halogen.
Query - Halogen.
Query. ChildQuery - Halogen.
Query. Event - Halogen.
Query. HalogenM - Halogen.
Query. HalogenQ - Halogen.
Query. Input - Halogen.
VDom. Driver