Module

Pux.DOM.Events

Package
purescript-pux
Repository
alexmingoia/purescript-pux

#DOMEvent Source

type DOMEvent = Event

Synonym for DOM.Event.Types.Event to distinguish from application events.

#targetValue Source

targetValue :: DOMEvent -> String

Return event.target.value if it exists, or an empty string if not.

#mapEventHandler Source

mapEventHandler :: forall a b. (a -> b) -> EventHandler (DOMEvent -> a) -> EventHandler (DOMEvent -> b)

Map event handler that returns event type a to event handler that returns event type b.

#onCopy Source

onCopy :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onCut Source

onCut :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onPaste Source

onPaste :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onCompositionEnd Source

onCompositionEnd :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onCompositionStart Source

onCompositionStart :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onCompositionUpdate Source

onCompositionUpdate :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onKeyDown Source

onKeyDown :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onKeyPress Source

onKeyPress :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onKeyUp Source

onKeyUp :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onFocus Source

onFocus :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onBlur Source

onBlur :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onChange Source

onChange :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onInput Source

onInput :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onSubmit Source

onSubmit :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onClick Source

onClick :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onContextMenu Source

onContextMenu :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDoubleClick Source

onDoubleClick :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDrag Source

onDrag :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDragEnd Source

onDragEnd :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDragEnter Source

onDragEnter :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDragExit Source

onDragExit :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDragLeave Source

onDragLeave :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDragOver Source

onDragOver :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDragStart Source

onDragStart :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDrop Source

onDrop :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onMouseDown Source

onMouseDown :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onMouseEnter Source

onMouseEnter :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onMouseLeave Source

onMouseLeave :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onMouseMove Source

onMouseMove :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onMouseOut Source

onMouseOut :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onMouseOver Source

onMouseOver :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onMouseUp Source

onMouseUp :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onSelect Source

onSelect :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onTouchCancel Source

onTouchCancel :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onTouchEnd Source

onTouchEnd :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onTouchMove Source

onTouchMove :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onTouchStart Source

onTouchStart :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onScroll Source

onScroll :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onWheel Source

onWheel :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onAbort Source

onAbort :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onCanPlay Source

onCanPlay :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onCanPlayThrough Source

onCanPlayThrough :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onDurationChange Source

onDurationChange :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onEmptied Source

onEmptied :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onEncrypted Source

onEncrypted :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onEnded Source

onEnded :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onError Source

onError :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onLoad Source

onLoad :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onLoadedData Source

onLoadedData :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onLoadedMetadata Source

onLoadedMetadata :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onLoadStart Source

onLoadStart :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onPause Source

onPause :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onPlay Source

onPlay :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onPlaying Source

onPlaying :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onProgress Source

onProgress :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onRateChange Source

onRateChange :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onSeeked Source

onSeeked :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onSeeking Source

onSeeking :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onStalled Source

onStalled :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onSuspend Source

onSuspend :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onTimeUpdate Source

onTimeUpdate :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onVolumeChange Source

onVolumeChange :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)

#onWaiting Source

onWaiting :: forall ev. (DOMEvent -> ev) -> EventHandlers (DOMEvent -> ev)