Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype SaferEventListener t e :: * -> * -> *
data EventName t e :: * -> * -> *
newListener :: IsEvent e => EventM t e () -> IO (SaferEventListener t e) Source
newListenerSync :: IsEvent e => EventM t e () -> IO (SaferEventListener t e) Source
newListenerAsync :: IsEvent e => EventM t e () -> IO (SaferEventListener t e) Source
addListener :: (IsEventTarget t, IsEvent e) => t -> EventName t e -> SaferEventListener t e -> Bool -> IO () Source
removeListener :: (IsEventTarget t, IsEvent e) => t -> EventName t e -> SaferEventListener t e -> Bool -> IO () Source
releaseListener :: (IsEventTarget t, IsEvent e) => SaferEventListener t e -> IO () Source
eventTarget :: IsEvent e => EventM t e (Maybe EventTarget) Source
eventCurrentTarget :: IsEvent e => EventM t e (Maybe EventTarget) Source
eventPhase :: IsEvent e => EventM t e Word Source
cancelable :: IsEvent e => EventM t e Bool Source
stopPropagation :: IsEvent e => EventM t e () Source
preventDefault :: IsEvent e => EventM t e () Source
defaultPrevented :: IsEvent e => EventM t e Bool Source
stopImmediatePropagation :: IsEvent e => EventM t e () Source
srcElement :: IsEvent e => EventM t e (Maybe EventTarget) Source
getCancelBubble :: IsEvent e => EventM t e Bool Source
cancelBubble :: IsEvent e => Bool -> EventM t e () Source
getReturnValue :: IsEvent e => EventM t e Bool Source
returnValue :: IsEvent e => Bool -> EventM t e () Source
uiCharCode :: IsUIEvent e => EventM t e Int 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
mouseX :: IsMouseEvent e => EventM t e Int Source
mouseY :: IsMouseEvent e => EventM t e Int Source
mouseFromElement :: IsMouseEvent e => EventM t e (Maybe Node) Source
mouseToElement :: IsMouseEvent e => EventM t e (Maybe Node) Source