| Copyright | (c) Joshua Obritsch 2021 |
|---|---|
| License | MIT |
| Maintainer | joshua@obritsch.com |
| Stability | Experimental |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Html.Events
Contents
- Event Handlers
- onauxclick
- onafterprint
- onbeforematch
- onbeforeprint
- onbeforeunload
- onblur
- oncancel
- oncanplay
- oncanplaythrough
- onchange
- onclick
- onclose
- oncontextlost
- oncontextmenu
- oncontextrestored
- oncopy
- oncuechange
- oncut
- ondblclick
- ondrag
- ondragend
- ondragenter
- ondragleave
- ondragover
- ondragstart
- ondrop
- ondurationchange
- onemptied
- onended
- onerror
- onfocus
- onformdata
- onhashchange
- oninput
- oninvalid
- onkeydown
- onkeypress
- onkeyup
- onlanguagechange
- onload
- onloadeddata
- onloadedmetadata
- onloadstart
- onmessage
- onmessageerror
- onmousedown
- onmouseenter
- onmouseleave
- onmousemove
- onmouseout
- onmouseover
- onmouseup
- onoffline
- ononline
- onpagehide
- onpageshow
- onpaste
- onpause
- onplay
- onplaying
- onpopstate
- onprogress
- onratechange
- onreset
- onresize
- onrejectionhandled
- onscroll
- onsecuritypolicyviolation
- onseeked
- onseeking
- onselect
- onslotchange
- onstalled
- onstorage
- onsubmit
- onsuspend
- ontimeupdate
- ontoggle
- onunhandledrejection
- onunload
- onvolumechange
- onwaiting
- onwheel
Description
The Html.Events module provides a set of functions for generating HTML event handlers.
Synopsis
- onauxclick :: Builder -> Attribute
- onafterprint :: Builder -> Attribute
- onbeforematch :: Builder -> Attribute
- onbeforeprint :: Builder -> Attribute
- onbeforeunload :: Builder -> Attribute
- onblur :: Builder -> Attribute
- oncancel :: Builder -> Attribute
- oncanplay :: Builder -> Attribute
- oncanplaythrough :: Builder -> Attribute
- onchange :: Builder -> Attribute
- onclick :: Builder -> Attribute
- onclose :: Builder -> Attribute
- oncontextlost :: Builder -> Attribute
- oncontextmenu :: Builder -> Attribute
- oncontextrestored :: Builder -> Attribute
- oncopy :: Builder -> Attribute
- oncuechange :: Builder -> Attribute
- oncut :: Builder -> Attribute
- ondblclick :: Builder -> Attribute
- ondrag :: Builder -> Attribute
- ondragend :: Builder -> Attribute
- ondragenter :: Builder -> Attribute
- ondragleave :: Builder -> Attribute
- ondragover :: Builder -> Attribute
- ondragstart :: Builder -> Attribute
- ondrop :: Builder -> Attribute
- ondurationchange :: Builder -> Attribute
- onemptied :: Builder -> Attribute
- onended :: Builder -> Attribute
- onerror :: Builder -> Attribute
- onfocus :: Builder -> Attribute
- onformdata :: Builder -> Attribute
- onhashchange :: Builder -> Attribute
- oninput :: Builder -> Attribute
- oninvalid :: Builder -> Attribute
- onkeydown :: Builder -> Attribute
- onkeypress :: Builder -> Attribute
- onkeyup :: Builder -> Attribute
- onlanguagechange :: Builder -> Attribute
- onload :: Builder -> Attribute
- onloadeddata :: Builder -> Attribute
- onloadedmetadata :: Builder -> Attribute
- onloadstart :: Builder -> Attribute
- onmessage :: Builder -> Attribute
- onmessageerror :: Builder -> Attribute
- onmousedown :: Builder -> Attribute
- onmouseenter :: Builder -> Attribute
- onmouseleave :: Builder -> Attribute
- onmousemove :: Builder -> Attribute
- onmouseout :: Builder -> Attribute
- onmouseover :: Builder -> Attribute
- onmouseup :: Builder -> Attribute
- onoffline :: Builder -> Attribute
- ononline :: Builder -> Attribute
- onpagehide :: Builder -> Attribute
- onpageshow :: Builder -> Attribute
- onpaste :: Builder -> Attribute
- onpause :: Builder -> Attribute
- onplay :: Builder -> Attribute
- onplaying :: Builder -> Attribute
- onpopstate :: Builder -> Attribute
- onprogress :: Builder -> Attribute
- onratechange :: Builder -> Attribute
- onreset :: Builder -> Attribute
- onresize :: Builder -> Attribute
- onrejectionhandled :: Builder -> Attribute
- onscroll :: Builder -> Attribute
- onsecuritypolicyviolation :: Builder -> Attribute
- onseeked :: Builder -> Attribute
- onseeking :: Builder -> Attribute
- onselect :: Builder -> Attribute
- onslotchange :: Builder -> Attribute
- onstalled :: Builder -> Attribute
- onstorage :: Builder -> Attribute
- onsubmit :: Builder -> Attribute
- onsuspend :: Builder -> Attribute
- ontimeupdate :: Builder -> Attribute
- ontoggle :: Builder -> Attribute
- onunhandledrejection :: Builder -> Attribute
- onunload :: Builder -> Attribute
- onvolumechange :: Builder -> Attribute
- onwaiting :: Builder -> Attribute
- onwheel :: Builder -> Attribute
Event Handlers
onauxclick
onauxclick :: Builder -> Attribute Source #
Generates an HTML onauxclick event handler with the given value.
onafterprint
onafterprint :: Builder -> Attribute Source #
Generates an HTML onafterprint event handler with the given value.
onbeforematch
onbeforematch :: Builder -> Attribute Source #
Generates an HTML onbeforematch event handler with the given value.
onbeforeprint
onbeforeprint :: Builder -> Attribute Source #
Generates an HTML onbeforeprint event handler with the given value.
onbeforeunload
onbeforeunload :: Builder -> Attribute Source #
Generates an HTML onbeforeunload event handler with the given value.
onblur
oncancel
oncancel :: Builder -> Attribute Source #
Generates an HTML oncancel event handler with the given value.
oncanplay
oncanplay :: Builder -> Attribute Source #
Generates an HTML oncanplay event handler with the given value.
oncanplaythrough
oncanplaythrough :: Builder -> Attribute Source #
Generates an HTML oncanplaythrough event handler with the given value.
onchange
onchange :: Builder -> Attribute Source #
Generates an HTML onchange event handler with the given value.
onclick
onclick :: Builder -> Attribute Source #
Generates an HTML onclick event handler with the given value.
onclose
onclose :: Builder -> Attribute Source #
Generates an HTML onclose event handler with the given value.
oncontextlost
oncontextlost :: Builder -> Attribute Source #
Generates an HTML oncontextlost event handler with the given value.
oncontextmenu
oncontextmenu :: Builder -> Attribute Source #
Generates an HTML oncontextmenu event handler with the given value.
oncontextrestored
oncontextrestored :: Builder -> Attribute Source #
Generates an HTML oncontextrestored event handler with the given value.
oncopy
oncuechange
oncuechange :: Builder -> Attribute Source #
Generates an HTML oncuechange event handler with the given value.
oncut
ondblclick
ondblclick :: Builder -> Attribute Source #
Generates an HTML ondblclick event handler with the given value.
ondrag
ondragend
ondragend :: Builder -> Attribute Source #
Generates an HTML ondragend event handler with the given value.
ondragenter
ondragenter :: Builder -> Attribute Source #
Generates an HTML ondragenter event handler with the given value.
ondragleave
ondragleave :: Builder -> Attribute Source #
Generates an HTML ondragleave event handler with the given value.
ondragover
ondragover :: Builder -> Attribute Source #
Generates an HTML ondragover event handler with the given value.
ondragstart
ondragstart :: Builder -> Attribute Source #
Generates an HTML ondragstart event handler with the given value.
ondrop
ondurationchange
ondurationchange :: Builder -> Attribute Source #
Generates an HTML ondurationchange event handler with the given value.
onemptied
onemptied :: Builder -> Attribute Source #
Generates an HTML onemptied event handler with the given value.
onended
onended :: Builder -> Attribute Source #
Generates an HTML onended event handler with the given value.
onerror
onerror :: Builder -> Attribute Source #
Generates an HTML onerror event handler with the given value.
onfocus
onfocus :: Builder -> Attribute Source #
Generates an HTML onfocus event handler with the given value.
onformdata
onformdata :: Builder -> Attribute Source #
Generates an HTML onformdata event handler with the given value.
onhashchange
onhashchange :: Builder -> Attribute Source #
Generates an HTML onhashchange event handler with the given value.
oninput
oninput :: Builder -> Attribute Source #
Generates an HTML oninput event handler with the given value.
oninvalid
oninvalid :: Builder -> Attribute Source #
Generates an HTML oninvalid event handler with the given value.
onkeydown
onkeydown :: Builder -> Attribute Source #
Generates an HTML onkeydown event handler with the given value.
onkeypress
onkeypress :: Builder -> Attribute Source #
Generates an HTML onkeypress event handler with the given value.
onkeyup
onkeyup :: Builder -> Attribute Source #
Generates an HTML onkeyup event handler with the given value.
onlanguagechange
onlanguagechange :: Builder -> Attribute Source #
Generates an HTML onlanguagechange event handler with the given value.
onload
onloadeddata
onloadeddata :: Builder -> Attribute Source #
Generates an HTML onloadeddata event handler with the given value.
onloadedmetadata
onloadedmetadata :: Builder -> Attribute Source #
Generates an HTML onloadedmetadata event handler with the given value.
onloadstart
onloadstart :: Builder -> Attribute Source #
Generates an HTML onloadstart event handler with the given value.
onmessage
onmessage :: Builder -> Attribute Source #
Generates an HTML onmessage event handler with the given value.
onmessageerror
onmessageerror :: Builder -> Attribute Source #
Generates an HTML onmessageerror event handler with the given value.
onmousedown
onmousedown :: Builder -> Attribute Source #
Generates an HTML onmousedown event handler with the given value.
onmouseenter
onmouseenter :: Builder -> Attribute Source #
Generates an HTML onmouseenter event handler with the given value.
onmouseleave
onmouseleave :: Builder -> Attribute Source #
Generates an HTML onmouseleave event handler with the given value.
onmousemove
onmousemove :: Builder -> Attribute Source #
Generates an HTML onmousemove event handler with the given value.
onmouseout
onmouseout :: Builder -> Attribute Source #
Generates an HTML onmouseout event handler with the given value.
onmouseover
onmouseover :: Builder -> Attribute Source #
Generates an HTML onmouseover event handler with the given value.
onmouseup
onmouseup :: Builder -> Attribute Source #
Generates an HTML onmouseup event handler with the given value.
onoffline
onoffline :: Builder -> Attribute Source #
Generates an HTML onoffline event handler with the given value.
ononline
ononline :: Builder -> Attribute Source #
Generates an HTML ononline event handler with the given value.
onpagehide
onpagehide :: Builder -> Attribute Source #
Generates an HTML onpagehide event handler with the given value.
onpageshow
onpageshow :: Builder -> Attribute Source #
Generates an HTML onpageshow event handler with the given value.
onpaste
onpaste :: Builder -> Attribute Source #
Generates an HTML onpaste event handler with the given value.
onpause
onpause :: Builder -> Attribute Source #
Generates an HTML onpause event handler with the given value.
onplay
onplaying
onplaying :: Builder -> Attribute Source #
Generates an HTML onplaying event handler with the given value.
onpopstate
onpopstate :: Builder -> Attribute Source #
Generates an HTML onpopstate event handler with the given value.
onprogress
onprogress :: Builder -> Attribute Source #
Generates an HTML onprogress event handler with the given value.
onratechange
onratechange :: Builder -> Attribute Source #
Generates an HTML onratechange event handler with the given value.
onreset
onreset :: Builder -> Attribute Source #
Generates an HTML onreset event handler with the given value.
onresize
onresize :: Builder -> Attribute Source #
Generates an HTML onresize event handler with the given value.
onrejectionhandled
onrejectionhandled :: Builder -> Attribute Source #
Generates an HTML onrejectionhandled event handler with the given value.
onscroll
onscroll :: Builder -> Attribute Source #
Generates an HTML onscroll event handler with the given value.
onsecuritypolicyviolation
onsecuritypolicyviolation :: Builder -> Attribute Source #
Generates an HTML onsecuritypolicyviolation event handler with the given value.
onseeked
onseeked :: Builder -> Attribute Source #
Generates an HTML onseeked event handler with the given value.
onseeking
onseeking :: Builder -> Attribute Source #
Generates an HTML onseeking event handler with the given value.
onselect
onselect :: Builder -> Attribute Source #
Generates an HTML onselect event handler with the given value.
onslotchange
onslotchange :: Builder -> Attribute Source #
Generates an HTML onslotchange event handler with the given value.
onstalled
onstalled :: Builder -> Attribute Source #
Generates an HTML onstalled event handler with the given value.
onstorage
onstorage :: Builder -> Attribute Source #
Generates an HTML onstorage event handler with the given value.
onsubmit
onsubmit :: Builder -> Attribute Source #
Generates an HTML onsubmit event handler with the given value.
onsuspend
onsuspend :: Builder -> Attribute Source #
Generates an HTML onsuspend event handler with the given value.
ontimeupdate
ontimeupdate :: Builder -> Attribute Source #
Generates an HTML ontimeupdate event handler with the given value.
ontoggle
ontoggle :: Builder -> Attribute Source #
Generates an HTML ontoggle event handler with the given value.
onunhandledrejection
onunhandledrejection :: Builder -> Attribute Source #
Generates an HTML onunhandledrejection event handler with the given value.
onunload
onunload :: Builder -> Attribute Source #
Generates an HTML onunload event handler with the given value.
onvolumechange
onvolumechange :: Builder -> Attribute Source #
Generates an HTML onvolumechange event handler with the given value.
onwaiting
onwaiting :: Builder -> Attribute Source #
Generates an HTML onwaiting event handler with the given value.