Module
Web.Chain.Event
- Package
- purescript-web-chain
- Repository
- david-sledge/purescript-web-chain
Chain functions related to events.
#change Source
change :: forall t m. EventTargetOp t => MonadEffect m => t -> m tTriggers the change event handlers tied to the event target. The target is returned.
#changeM Source
changeM :: forall m t. Bind m => EventTargetOp t => MonadEffect m => m t -> m tTriggers the change event handlers tied to the event target. The target is returned.
#onChange Source
onChange :: forall a m t. MonadEffect m => EventTargetOp t => (Event -> Effect a) -> t -> m tAttach an event handler function to the event target when the target's value changes. The target is returned.
#onChangeM Source
onChangeM :: forall a m t. MonadEffect m => EventTargetOp t => (Event -> Effect a) -> m t -> m tAttach an event handler function to the event target when the target's value changes. The target is returned.
#onReady Source
onReady :: forall a m. MonadEffect m => (Event -> Effect a) -> m HTMLDocumentAttach an event handler function to the HTML document when the DOM is fully loaded. The document is returned.
- Modules
- Data.
Array. Effect - Data.
List. Util - Data.
Map. Effect - Web.
CSSOM. Lifted. CSSStyleDeclaration - Web.
CSSOM. Window - Web.
Chain - Web.
Chain. CSSOM - Web.
Chain. DOM - Web.
Chain. Event - Web.
Chain. HTML - Web.
Chain. HTML. Class. HTMLAbleOp - Web.
Chain. HTML. Class. HTMLValueContainerOp - Web.
Chain. HTML. Util - Web.
Chain. UI. UISortableTable - Web.
Chain. UI. UITabPane - Web.
DOM. Class. CharacterDataOp - Web.
DOM. Class. DocumentOp - Web.
DOM. Class. ElementOp - Web.
DOM. Class. NodeOp - Web.
DOM. Class. TextOp - Web.
Event. Class. EventTargetOp - Web.
HTML. Class. HTMLElementOp - Web.
HTML. Lifted. HTMLDocument