Module

Chameleon.HTML.Events

Package
purescript-chameleon
Repository
thought2/purescript-chameleon

#FromForeign Source

class FromForeign a  where

Members

Instances

#onAbort Source

onAbort :: forall a. a -> Prop a

Occurs when the loading of an audio/video is aborted

#onAfterPrint Source

onAfterPrint :: forall a. a -> Prop a

Occurs when a page has started printing, or if the print dialogue box has been closed

#onAnimationEnd Source

onAnimationEnd :: forall a. a -> Prop a

Occurs when a CSS animation has completed

#onAnimationIteration Source

onAnimationIteration :: forall a. a -> Prop a

Occurs when a CSS animation is repeated

#onAnimationStart Source

onAnimationStart :: forall a. a -> Prop a

Occurs when a CSS animation has started

#onBeforePrint Source

onBeforePrint :: forall a. a -> Prop a

Occurs when a page is about to be printed

#onBeforeUnload Source

onBeforeUnload :: forall a. a -> Prop a

Occurs before the document is about to be unloaded

#onBlur Source

onBlur :: forall a. a -> Prop a

Occurs when an element loses focus

#onCanPlay Source

onCanPlay :: forall a. a -> Prop a

Occurs when the browser can start playing the audio/video

#onCanPlayThrough Source

onCanPlayThrough :: forall a. a -> Prop a

Occurs when the browser can play through the audio/video without stopping for buffering

#onChange Source

onChange :: forall a. (String -> a) -> Prop a

Occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

#onClick Source

onClick :: forall a. a -> Prop a

Occurs when the user clicks on an element

#onContextMenu Source

onContextMenu :: forall a. a -> Prop a

Occurs when the user right-clicks on an element to open a context menu

#onCopy Source

onCopy :: forall a. a -> Prop a

Occurs when the user copies the content of an element

#onCut Source

onCut :: forall a. a -> Prop a

Occurs when the user cuts the content of an element

#onDblClick Source

onDblClick :: forall a. a -> Prop a

Occurs when the user double-clicks on an element

#onDrag Source

onDrag :: forall a. a -> Prop a

Occurs when an element is being dragged

#onDragEnd Source

onDragEnd :: forall a. a -> Prop a

Occurs when the user has finished dragging an element

#onDragEnter Source

onDragEnter :: forall a. a -> Prop a

Occurs when the dragged element enters the drop target

#onDragLeave Source

onDragLeave :: forall a. a -> Prop a

Occurs when the dragged element leaves the drop target

#onDragOver Source

onDragOver :: forall a. a -> Prop a

Occurs when the dragged element is over the drop target

#onDragStart Source

onDragStart :: forall a. a -> Prop a

Occurs when the user starts to drag an element

#onDrop Source

onDrop :: forall a. a -> Prop a

Occurs when the dragged element is dropped on the drop target

#onDurationChange Source

onDurationChange :: forall a. a -> Prop a

Occurs when the duration of the audio/video is changed

#onEnded Source

onEnded :: forall a. a -> Prop a

Occurs when the audio/video has ended

#onError Source

onError :: forall a. a -> Prop a

Occurs when an error occurs while loading an audio/video

#onFocus Source

onFocus :: forall a. a -> Prop a

Occurs when an element gets focus

#onFocusIn Source

onFocusIn :: forall a. a -> Prop a

Occurs when an element is about to get focus

#onFocusOut Source

onFocusOut :: forall a. a -> Prop a

Occurs when an element is about to lose focus

#onFullscreenChange Source

onFullscreenChange :: forall a. a -> Prop a

Occurs when an element is displayed in fullscreen mode

#onFullscreenError Source

onFullscreenError :: forall a. a -> Prop a

Occurs when an element can not be displayed in fullscreen mode

#onHashChange Source

onHashChange :: forall a. a -> Prop a

Occurs when there has been changes to the anchor part of a URL

#onInput Source

onInput :: forall a. (String -> a) -> Prop a

Occurs when an element gets user input

#onInvalid Source

onInvalid :: forall a. a -> Prop a

Occurs when an element is invalid

#onKeyDown Source

onKeyDown :: forall a. a -> Prop a

Occurs when a user is pressing a key

#onKeyPress Source

onKeyPress :: forall a. a -> Prop a

Occurs when a user presses a key

#onKeyUp Source

onKeyUp :: forall a. a -> Prop a

Occurs when a user releases a key

#onLoad Source

onLoad :: forall a. a -> Prop a

Occurs when an object has loaded

#onLoadedData Source

onLoadedData :: forall a. a -> Prop a

Occurs when media data is loaded

#onLoadedMetadata Source

onLoadedMetadata :: forall a. a -> Prop a

Occurs when meta data (like dimensions and duration) are loaded

#onLoadStart Source

onLoadStart :: forall a. a -> Prop a

Occurs when the browser starts looking for the specified audio/video

#onMessage Source

onMessage :: forall a. a -> Prop a

Occurs when a message is received through the event source

#onMouseDown Source

onMouseDown :: forall a. a -> Prop a

Occurs when a mouse button is pressed down on an element

#onMouseEnter Source

onMouseEnter :: forall a. a -> Prop a

Occurs when the mouse pointer is over the selected element

#onMouseLeave Source

onMouseLeave :: forall a. a -> Prop a

Occurs when the mouse pointer leaves the selected element

#onMouseMove Source

onMouseMove :: forall a. a -> Prop a

Occurs when the mouse pointer is moving while it is over an element

#onMouseOut Source

onMouseOut :: forall a. a -> Prop a

Occurs when the mouse pointer moves out of an element

#onMouseOver Source

onMouseOver :: forall a. a -> Prop a

Occurs when the mouse pointer moves over an element

#onMouseUp Source

onMouseUp :: forall a. a -> Prop a

Occurs when a mouse button is released over an element

#onMouseWheel Source

onMouseWheel :: forall a. a -> Prop a

Deprecated. Use the wheel event instead

#onOffline Source

onOffline :: forall a. a -> Prop a

Occurs when the browser starts to work offline

#onOnline Source

onOnline :: forall a. a -> Prop a

Occurs when the browser starts to work online

#onOpen Source

onOpen :: forall a. a -> Prop a

Occurs when a connection with the event source is opened

#onPageHide Source

onPageHide :: forall a. a -> Prop a

Occurs when the user navigates away from a webpage

#onPageShow Source

onPageShow :: forall a. a -> Prop a

Occurs when the user navigates to a webpage

#onPaste Source

onPaste :: forall a. a -> Prop a

Occurs when the user pastes some content in an element

#onPause Source

onPause :: forall a. a -> Prop a

Occurs when the audio/video has been paused

#onPlay Source

onPlay :: forall a. a -> Prop a

Occurs when the audio/video has been started or is no longer paused

#onPlaying Source

onPlaying :: forall a. a -> Prop a

Occurs when the audio/video is playing after having been paused or stopped for buffering

#onPopState Source

onPopState :: forall a. a -> Prop a

Occurs when the window's history changes

#onProgress Source

onProgress :: forall a. a -> Prop a

Occurs when the browser is in the process of getting the media data (downloading the media)

#onRateChange Source

onRateChange :: forall a. a -> Prop a

Occurs when the playing speed of the audio/video is changed

#onResize Source

onResize :: forall a. a -> Prop a

Occurs when the document view is resized

#onReset Source

onReset :: forall a. a -> Prop a

Occurs when a form is reset

#onScroll Source

onScroll :: forall a. a -> Prop a

Occurs when an element's scrollbar is being scrolled

#onSearch Source

onSearch :: forall a. a -> Prop a

Occurs when the user writes something in a search field (for <input="search">)

#onSeeked Source

onSeeked :: forall a. a -> Prop a

Occurs when the user is finished moving/skipping to a new position in the audio/video

#onSeeking Source

onSeeking :: forall a. a -> Prop a

Occurs when the user starts moving/skipping to a new position in the audio/video

#onSelect Source

onSelect :: forall a. a -> Prop a

Occurs after the user selects some text (for <input> and <textarea>)

#onShow Source

onShow :: forall a. a -> Prop a

Occurs when a <menu> element is shown as a context menu

#onStalled Source

onStalled :: forall a. a -> Prop a

Occurs when the browser is trying to get media data, but data is not available

#onStorage Source

onStorage :: forall a. a -> Prop a

Occurs when a Web Storage area is updated

#onSubmit Source

onSubmit :: forall a. a -> Prop a

Occurs when a form is submitted

#onSuspend Source

onSuspend :: forall a. a -> Prop a

Occurs when the browser is intentionally not getting media data

#onTimeUpdate Source

onTimeUpdate :: forall a. a -> Prop a

Occurs when the playing position has changed (like when the user fast forwards to a different point in the media)

#onToggle Source

onToggle :: forall a. a -> Prop a

Occurs when the user opens or closes the <details> element

#onTouchCancel Source

onTouchCancel :: forall a. a -> Prop a

Occurs when the touch is interrupted

#onTouchEnd Source

onTouchEnd :: forall a. a -> Prop a

Occurs when a finger is removed from a touch screen

#onTouchMove Source

onTouchMove :: forall a. a -> Prop a

Occurs when a finger is dragged across the screen

#onTouchStart Source

onTouchStart :: forall a. a -> Prop a

Occurs when a finger is placed on a touch screen

#onTransitionEnd Source

onTransitionEnd :: forall a. a -> Prop a

Occurs when a CSS transition has completed

#onUnload Source

onUnload :: forall a. a -> Prop a

Occurs once a page has unloaded (or the browser window has been closed)

#onVolumeChange Source

onVolumeChange :: forall a. a -> Prop a

Occurs when the volume of the audio/video has changed

#onWaiting Source

onWaiting :: forall a. a -> Prop a

Occurs when the video stops because it needs to buffer the next frame

#onWheel Source

onWheel :: forall a. a -> Prop a

Occurs when the mouse wheel rolls up or down over an element