Module
JQuery
- Package
- purescript-jquery
- Repository
- paf31/purescript-jquery
This module defines foreign types and functions for working with the jQuery library.
#JQueryEvent Source
data JQueryEvent :: Type
Type of jQuery event objects.
#preventDefault Source
preventDefault :: JQueryEvent -> Effect Unit
Prevent the default action for an event.
#stopPropagation Source
stopPropagation :: JQueryEvent -> Effect Unit
Stop propagation an event.
#stopImmediatePropagation Source
stopImmediatePropagation :: JQueryEvent -> Effect Unit
Stop immediate propagation an event.
#getTarget Source
getTarget :: JQueryEvent -> Effect JQuery
Get the target
propery of the event object.
#getCurrentTarget Source
getCurrentTarget :: JQueryEvent -> Effect JQuery
Get the currentTarget
property from the event object.
#getPageX Source
getPageX :: JQueryEvent -> Effect Number
Get the pageX
property from the event object.
#getPageY Source
getPageY :: JQueryEvent -> Effect Number
Get the pageY
property from the event object.
#getMetaKey Source
getMetaKey :: JQueryEvent -> Effect Boolean
Get the metaKey
property from the event object.
- Modules
- JQuery