Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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. (Eq a, Num a) => a
- pattern ADDITION :: forall a. (Eq a, Num a) => a
- pattern REMOVAL :: forall a. (Eq a, Num 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. (Eq a, Num 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:
Instances
PToJSVal MutationEvent Source # | |
Defined in JSDOM.Types pToJSVal :: MutationEvent -> JSVal # | |
PFromJSVal MutationEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> MutationEvent # | |
ToJSVal MutationEvent Source # | |
Defined in JSDOM.Types toJSVal :: MutationEvent -> JSM JSVal # toJSValListOf :: [MutationEvent] -> JSM JSVal # | |
FromJSVal MutationEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe MutationEvent) # fromJSValUnchecked :: JSVal -> JSM MutationEvent # fromJSValListOf :: JSVal -> JSM (Maybe [MutationEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [MutationEvent] # | |
MakeObject MutationEvent Source # | |
Defined in JSDOM.Types makeObject :: MutationEvent -> JSM Object # | |
IsEvent MutationEvent Source # | |
Defined in JSDOM.Types | |
IsGObject MutationEvent Source # | |
Defined in JSDOM.Types typeGType :: MutationEvent -> JSM GType |