Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newMouseEvent :: (MonadDOM m, ToJSString type', IsMouseEventInit eventInitDict) => type' -> Maybe eventInitDict -> m MouseEvent
- initMouseEvent :: (MonadDOM m, IsMouseEvent self, ToJSString type', ToJSVal relatedTarget) => self -> Maybe type' -> Bool -> Bool -> Maybe Window -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Bool -> Bool -> Bool -> Bool -> Maybe Word -> Maybe relatedTarget -> m ()
- pattern WEBKIT_FORCE_AT_MOUSE_DOWN :: forall a. (Num a, Eq a) => a
- pattern WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN :: forall a. (Num a, Eq a) => a
- getScreenX :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getScreenY :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getClientX :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getClientY :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getCtrlKey :: (MonadDOM m, IsMouseEvent self) => self -> m Bool
- getShiftKey :: (MonadDOM m, IsMouseEvent self) => self -> m Bool
- getAltKey :: (MonadDOM m, IsMouseEvent self) => self -> m Bool
- getMetaKey :: (MonadDOM m, IsMouseEvent self) => self -> m Bool
- getButton :: (MonadDOM m, IsMouseEvent self) => self -> m Word
- getRelatedTarget :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe EventTarget)
- getRelatedTargetUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m EventTarget
- getRelatedTargetUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m EventTarget
- getMovementX :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getMovementY :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getWebkitForce :: (MonadDOM m, IsMouseEvent self) => self -> m Double
- getOffsetX :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getOffsetY :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getX :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getY :: (MonadDOM m, IsMouseEvent self) => self -> m Int
- getFromElement :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe Node)
- getFromElementUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m Node
- getFromElementUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m Node
- getToElement :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe Node)
- getToElementUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m Node
- getToElementUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m Node
- getDataTransfer :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe DataTransfer)
- getDataTransferUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m DataTransfer
- getDataTransferUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m DataTransfer
- newtype MouseEvent = MouseEvent {}
- gTypeMouseEvent :: JSM GType
- class (IsUIEvent o, IsEvent o, IsGObject o) => IsMouseEvent o
- toMouseEvent :: IsMouseEvent o => o -> MouseEvent
Documentation
newMouseEvent :: (MonadDOM m, ToJSString type', IsMouseEventInit eventInitDict) => type' -> Maybe eventInitDict -> m MouseEvent Source #
initMouseEvent :: (MonadDOM m, IsMouseEvent self, ToJSString type', ToJSVal relatedTarget) => self -> Maybe type' -> Bool -> Bool -> Maybe Window -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Bool -> Bool -> Bool -> Bool -> Maybe Word -> Maybe relatedTarget -> m () Source #
pattern WEBKIT_FORCE_AT_MOUSE_DOWN :: forall a. (Num a, Eq a) => a Source #
pattern WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN :: forall a. (Num a, Eq a) => a Source #
getScreenX :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getScreenY :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getClientX :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getClientY :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getCtrlKey :: (MonadDOM m, IsMouseEvent self) => self -> m Bool Source #
getShiftKey :: (MonadDOM m, IsMouseEvent self) => self -> m Bool Source #
getMetaKey :: (MonadDOM m, IsMouseEvent self) => self -> m Bool Source #
getRelatedTarget :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe EventTarget) Source #
getRelatedTargetUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m EventTarget Source #
getRelatedTargetUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m EventTarget Source #
getMovementX :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getMovementY :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getWebkitForce :: (MonadDOM m, IsMouseEvent self) => self -> m Double Source #
getOffsetX :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getOffsetY :: (MonadDOM m, IsMouseEvent self) => self -> m Int Source #
getFromElement :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe Node) Source #
getFromElementUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m Node Source #
getFromElementUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m Node Source #
getToElement :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe Node) Source #
getToElementUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m Node Source #
getToElementUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m Node Source #
getDataTransfer :: (MonadDOM m, IsMouseEvent self) => self -> m (Maybe DataTransfer) Source #
getDataTransferUnsafe :: (MonadDOM m, IsMouseEvent self, HasCallStack) => self -> m DataTransfer Source #
getDataTransferUnchecked :: (MonadDOM m, IsMouseEvent self) => self -> m DataTransfer Source #
newtype MouseEvent Source #
Functions for this inteface are in JSDOM.MouseEvent. Base interface functions are in:
toMouseEvent :: IsMouseEvent o => o -> MouseEvent Source #