Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype SaferEventListener t e Source #
ToJSVal (SaferEventListener t e) Source # | |
newListener :: IsEvent e => EventM t e () -> DOM (SaferEventListener t e) Source #
newListenerSync :: IsEvent e => EventM t e () -> DOM (SaferEventListener t e) Source #
newListenerAsync :: IsEvent e => EventM t e () -> DOM (SaferEventListener t e) Source #
addListener :: (IsEventTarget t, IsEvent e) => t -> EventName t e -> SaferEventListener t e -> Bool -> DOM () Source #
removeListener :: (IsEventTarget t, IsEvent e) => t -> EventName t e -> SaferEventListener t e -> Bool -> DOM () Source #
releaseListener :: (IsEventTarget t, IsEvent e) => SaferEventListener t e -> DOM () Source #
eventTarget :: IsEvent e => EventM t e (Maybe EventTarget) Source #
eventCurrentTarget :: IsEvent e => EventM t e (Maybe EventTarget) Source #
stopPropagation :: IsEvent e => EventM t e () Source #
preventDefault :: IsEvent e => EventM t e () Source #
stopImmediatePropagation :: IsEvent e => EventM t e () Source #
srcElement :: IsEvent e => EventM t e EventTarget Source #
uiCharCode :: EventM t KeyboardEvent Word Source #
mouseScreenX :: IsMouseEvent e => EventM t e Int Source #
mouseScreenY :: IsMouseEvent e => EventM t e Int Source #
mouseScreenXY :: IsMouseEvent e => EventM t e (Int, Int) Source #
mouseClientX :: IsMouseEvent e => EventM t e Int Source #
mouseClientY :: IsMouseEvent e => EventM t e Int Source #
mouseClientXY :: IsMouseEvent e => EventM t e (Int, Int) Source #
mouseMovementX :: IsMouseEvent e => EventM t e Int Source #
mouseMovementY :: IsMouseEvent e => EventM t e Int Source #
mouseMovementXY :: IsMouseEvent e => EventM t e (Int, Int) Source #
mouseCtrlKey :: IsMouseEvent e => EventM t e Bool Source #
mouseShiftKey :: IsMouseEvent e => EventM t e Bool Source #
mouseAltKey :: IsMouseEvent e => EventM t e Bool Source #
mouseMetaKey :: IsMouseEvent e => EventM t e Bool Source #
mouseButton :: IsMouseEvent e => EventM t e Word Source #
mouseRelatedTarget :: IsMouseEvent e => EventM t e (Maybe EventTarget) Source #
mouseOffsetX :: IsMouseEvent e => EventM t e Int Source #
mouseOffsetY :: IsMouseEvent e => EventM t e Int Source #
mouseOffsetXY :: IsMouseEvent e => EventM t e (Int, Int) Source #
mouseFromElement :: IsMouseEvent e => EventM t e (Maybe Node) Source #
mouseToElement :: IsMouseEvent e => EventM t e (Maybe Node) Source #