Module

Pux.DOM.Events

Package
purescript-pux
Repository
alexmingoia/purescript-pux

#DOMEventSource

type DOMEvent = Event

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

#targetValueSource

targetValue :: DOMEvent -> String

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

#mapEventHandlerSource

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.

#onCopySource

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

#onCutSource

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

#onPasteSource

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

#onCompositionEndSource

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

#onCompositionStartSource

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

#onCompositionUpdateSource

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

#onKeyDownSource

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

#onKeyPressSource

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

#onKeyUpSource

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

#onFocusSource

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

#onBlurSource

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

#onChangeSource

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

#onInputSource

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

#onSubmitSource

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

#onClickSource

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

#onContextMenuSource

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

#onDoubleClickSource

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

#onDragSource

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

#onDragEndSource

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

#onDragEnterSource

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

#onDragExitSource

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

#onDragLeaveSource

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

#onDragOverSource

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

#onDragStartSource

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

#onDropSource

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

#onMouseDownSource

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

#onMouseEnterSource

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

#onMouseLeaveSource

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

#onMouseMoveSource

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

#onMouseOutSource

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

#onMouseOverSource

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

#onMouseUpSource

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

#onSelectSource

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

#onTouchCancelSource

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

#onTouchEndSource

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

#onTouchMoveSource

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

#onTouchStartSource

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

#onScrollSource

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

#onWheelSource

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

#onAbortSource

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

#onCanPlaySource

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

#onCanPlayThroughSource

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

#onDurationChangeSource

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

#onEmptiedSource

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

#onEncryptedSource

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

#onEndedSource

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

#onErrorSource

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

#onLoadSource

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

#onLoadedDataSource

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

#onLoadedMetadataSource

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

#onLoadStartSource

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

#onPauseSource

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

#onPlaySource

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

#onPlayingSource

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

#onProgressSource

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

#onRateChangeSource

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

#onSeekedSource

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

#onSeekingSource

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

#onStalledSource

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

#onSuspendSource

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

#onTimeUpdateSource

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

#onVolumeChangeSource

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

#onWaitingSource

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