Module
Control.Monad.Eff.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 :: TypeType of jQuery event objects.
#preventDefault Source
preventDefault :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) UnitPrevent the default action for an event.
#stopPropagation Source
stopPropagation :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) UnitStop propagation an event.
#stopImmediatePropagation Source
stopImmediatePropagation :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) UnitStop immediate propagation an event.
#getTarget Source
getTarget :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) JQueryGet the target propery of the event object.
#getCurrentTarget Source
getCurrentTarget :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) JQueryGet the currentTarget property from the event object.
#getPageX Source
getPageX :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) NumberGet the pageX property from the event object.
#getPageY Source
getPageY :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) NumberGet the pageY property from the event object.
#getWhich Source
getWhich :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) IntGet the which property from the event object.
#getMetaKey Source
getMetaKey :: forall eff. JQueryEvent -> Eff (dom :: DOM | eff) BooleanGet the metaKey property from the event object.
- Modules
- Control.
Monad. Eff. JQuery