Safe Haskell | None |
---|---|
Language | Haskell2010 |
- initMutationEvent :: (MonadDOM m, ToJSString type', IsNode relatedNode, ToJSString prevValue, ToJSString newValue, ToJSString attrName) => MutationEvent -> Maybe type' -> Bool -> Bool -> Maybe relatedNode -> Maybe prevValue -> Maybe newValue -> Maybe attrName -> Maybe Word -> m ()
- pattern MODIFICATION :: forall a. (Num a, Eq a) => a
- pattern ADDITION :: forall a. (Num a, Eq a) => a
- pattern REMOVAL :: forall a. (Num a, Eq a) => a
- getRelatedNode :: MonadDOM m => MutationEvent -> m (Maybe Node)
- getRelatedNodeUnsafe :: (MonadDOM m, HasCallStack) => MutationEvent -> m Node
- getRelatedNodeUnchecked :: MonadDOM m => MutationEvent -> m Node
- getPrevValue :: (MonadDOM m, FromJSString result) => MutationEvent -> m result
- getNewValue :: (MonadDOM m, FromJSString result) => MutationEvent -> m result
- getAttrName :: (MonadDOM m, FromJSString result) => MutationEvent -> m result
- getAttrChange :: MonadDOM m => MutationEvent -> m Word
- newtype MutationEvent = MutationEvent {}
- gTypeMutationEvent :: JSM GType
Documentation
initMutationEvent :: (MonadDOM m, ToJSString type', IsNode relatedNode, ToJSString prevValue, ToJSString newValue, ToJSString attrName) => MutationEvent -> Maybe type' -> Bool -> Bool -> Maybe relatedNode -> Maybe prevValue -> Maybe newValue -> Maybe attrName -> Maybe Word -> m () Source #
pattern MODIFICATION :: forall a. (Num a, Eq a) => a Source #
getRelatedNode :: MonadDOM m => MutationEvent -> m (Maybe Node) Source #
getRelatedNodeUnsafe :: (MonadDOM m, HasCallStack) => MutationEvent -> m Node Source #
getRelatedNodeUnchecked :: MonadDOM m => MutationEvent -> m Node Source #
getPrevValue :: (MonadDOM m, FromJSString result) => MutationEvent -> m result Source #
getNewValue :: (MonadDOM m, FromJSString result) => MutationEvent -> m result Source #
getAttrName :: (MonadDOM m, FromJSString result) => MutationEvent -> m result Source #
getAttrChange :: MonadDOM m => MutationEvent -> m Word Source #
newtype MutationEvent Source #
Functions for this inteface are in JSDOM.MutationEvent. Base interface functions are in: