Safe Haskell | None |
---|---|
Language | Haskell2010 |
- initMouseEvent :: (MonadDOM m, IsMouseEvent self, ToJSString type', IsEventTarget relatedTarget) => self -> type' -> Bool -> Bool -> Maybe Window -> Int -> Int -> Int -> Int -> Int -> Bool -> Bool -> Bool -> Bool -> Word -> Maybe relatedTarget -> m ()
- 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
- 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 => IsMouseEvent o
- toMouseEvent :: IsMouseEvent o => o -> MouseEvent
Documentation
initMouseEvent :: (MonadDOM m, IsMouseEvent self, ToJSString type', IsEventTarget relatedTarget) => self -> type' -> Bool -> Bool -> Maybe Window -> Int -> Int -> Int -> Int -> Int -> Bool -> Bool -> Bool -> Bool -> Word -> Maybe relatedTarget -> m () 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 #
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:
class IsUIEvent o => IsMouseEvent o Source #
toMouseEvent :: IsMouseEvent o => o -> MouseEvent Source #