Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newEvent :: (MonadDOM m, ToJSString type', IsEventInit eventInitDict) => type' -> Maybe eventInitDict -> m Event
- composedPath :: (MonadDOM m, IsEvent self) => self -> m [EventTarget]
- composedPath_ :: (MonadDOM m, IsEvent self) => self -> m ()
- stopPropagation :: (MonadDOM m, IsEvent self) => self -> m ()
- stopImmediatePropagation :: (MonadDOM m, IsEvent self) => self -> m ()
- preventDefault :: (MonadDOM m, IsEvent self) => self -> m ()
- initEvent :: (MonadDOM m, IsEvent self, ToJSString type') => self -> type' -> Bool -> Bool -> m ()
- pattern NONE :: forall a. (Num a, Eq a) => a
- pattern CAPTURING_PHASE :: forall a. (Num a, Eq a) => a
- pattern AT_TARGET :: forall a. (Num a, Eq a) => a
- pattern BUBBLING_PHASE :: forall a. (Num a, Eq a) => a
- getType :: (MonadDOM m, IsEvent self, FromJSString result) => self -> m result
- getTarget :: (MonadDOM m, IsEvent self) => self -> m (Maybe EventTarget)
- getTargetUnsafe :: (MonadDOM m, IsEvent self, HasCallStack) => self -> m EventTarget
- getTargetUnchecked :: (MonadDOM m, IsEvent self) => self -> m EventTarget
- getCurrentTarget :: (MonadDOM m, IsEvent self) => self -> m (Maybe EventTarget)
- getCurrentTargetUnsafe :: (MonadDOM m, IsEvent self, HasCallStack) => self -> m EventTarget
- getCurrentTargetUnchecked :: (MonadDOM m, IsEvent self) => self -> m EventTarget
- getEventPhase :: (MonadDOM m, IsEvent self) => self -> m Word
- setCancelBubble :: (MonadDOM m, IsEvent self) => self -> Bool -> m ()
- getCancelBubble :: (MonadDOM m, IsEvent self) => self -> m Bool
- getBubbles :: (MonadDOM m, IsEvent self) => self -> m Bool
- getCancelable :: (MonadDOM m, IsEvent self) => self -> m Bool
- getDefaultPrevented :: (MonadDOM m, IsEvent self) => self -> m Bool
- getComposed :: (MonadDOM m, IsEvent self) => self -> m Bool
- getIsTrusted :: (MonadDOM m, IsEvent self) => self -> m Bool
- getTimeStamp :: (MonadDOM m, IsEvent self) => self -> m Word
- getSrcElement :: (MonadDOM m, IsEvent self) => self -> m EventTarget
- setReturnValue :: (MonadDOM m, IsEvent self) => self -> Bool -> m ()
- getReturnValue :: (MonadDOM m, IsEvent self) => self -> m Bool
- newtype Event = Event {}
- gTypeEvent :: JSM GType
- class IsGObject o => IsEvent o
- toEvent :: IsEvent o => o -> Event
Documentation
newEvent :: (MonadDOM m, ToJSString type', IsEventInit eventInitDict) => type' -> Maybe eventInitDict -> m Event Source #
composedPath :: (MonadDOM m, IsEvent self) => self -> m [EventTarget] Source #
composedPath_ :: (MonadDOM m, IsEvent self) => self -> m () Source #
stopPropagation :: (MonadDOM m, IsEvent self) => self -> m () Source #
stopImmediatePropagation :: (MonadDOM m, IsEvent self) => self -> m () Source #
preventDefault :: (MonadDOM m, IsEvent self) => self -> m () Source #
initEvent :: (MonadDOM m, IsEvent self, ToJSString type') => self -> type' -> Bool -> Bool -> m () Source #
pattern CAPTURING_PHASE :: forall a. (Num a, Eq a) => a Source #
pattern BUBBLING_PHASE :: forall a. (Num a, Eq a) => a Source #
getTargetUnsafe :: (MonadDOM m, IsEvent self, HasCallStack) => self -> m EventTarget Source #
getTargetUnchecked :: (MonadDOM m, IsEvent self) => self -> m EventTarget Source #
getCurrentTarget :: (MonadDOM m, IsEvent self) => self -> m (Maybe EventTarget) Source #
getCurrentTargetUnsafe :: (MonadDOM m, IsEvent self, HasCallStack) => self -> m EventTarget Source #
getCurrentTargetUnchecked :: (MonadDOM m, IsEvent self) => self -> m EventTarget Source #
getSrcElement :: (MonadDOM m, IsEvent self) => self -> m EventTarget Source #
Functions for this inteface are in JSDOM.Event.
gTypeEvent :: JSM GType Source #
class IsGObject o => IsEvent o Source #