Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- prepend :: (MonadDOM m, IsParentNode self, IsNodeOrString nodes) => self -> [nodes] -> m ()
- append :: (MonadDOM m, IsParentNode self, IsNodeOrString nodes) => self -> [nodes] -> m ()
- querySelector :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m (Maybe Element)
- querySelector_ :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m ()
- querySelectorUnsafe :: (MonadDOM m, IsParentNode self, ToJSString selectors, HasCallStack) => self -> selectors -> m Element
- querySelectorUnchecked :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m Element
- querySelectorAll :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m NodeList
- querySelectorAll_ :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m ()
- getChildren :: (MonadDOM m, IsParentNode self) => self -> m HTMLCollection
- getFirstElementChild :: (MonadDOM m, IsParentNode self) => self -> m (Maybe Element)
- getFirstElementChildUnsafe :: (MonadDOM m, IsParentNode self, HasCallStack) => self -> m Element
- getFirstElementChildUnchecked :: (MonadDOM m, IsParentNode self) => self -> m Element
- getLastElementChild :: (MonadDOM m, IsParentNode self) => self -> m (Maybe Element)
- getLastElementChildUnsafe :: (MonadDOM m, IsParentNode self, HasCallStack) => self -> m Element
- getLastElementChildUnchecked :: (MonadDOM m, IsParentNode self) => self -> m Element
- getChildElementCount :: (MonadDOM m, IsParentNode self) => self -> m Word
- newtype ParentNode = ParentNode {}
- gTypeParentNode :: JSM GType
- class IsGObject o => IsParentNode o
- toParentNode :: IsParentNode o => o -> ParentNode
Documentation
prepend :: (MonadDOM m, IsParentNode self, IsNodeOrString nodes) => self -> [nodes] -> m () Source #
append :: (MonadDOM m, IsParentNode self, IsNodeOrString nodes) => self -> [nodes] -> m () Source #
querySelector :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m (Maybe Element) Source #
querySelector_ :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m () Source #
querySelectorUnsafe :: (MonadDOM m, IsParentNode self, ToJSString selectors, HasCallStack) => self -> selectors -> m Element Source #
querySelectorUnchecked :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m Element Source #
querySelectorAll :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m NodeList Source #
querySelectorAll_ :: (MonadDOM m, IsParentNode self, ToJSString selectors) => self -> selectors -> m () Source #
getChildren :: (MonadDOM m, IsParentNode self) => self -> m HTMLCollection Source #
getFirstElementChild :: (MonadDOM m, IsParentNode self) => self -> m (Maybe Element) Source #
getFirstElementChildUnsafe :: (MonadDOM m, IsParentNode self, HasCallStack) => self -> m Element Source #
getFirstElementChildUnchecked :: (MonadDOM m, IsParentNode self) => self -> m Element Source #
getLastElementChild :: (MonadDOM m, IsParentNode self) => self -> m (Maybe Element) Source #
getLastElementChildUnsafe :: (MonadDOM m, IsParentNode self, HasCallStack) => self -> m Element Source #
getLastElementChildUnchecked :: (MonadDOM m, IsParentNode self) => self -> m Element Source #
getChildElementCount :: (MonadDOM m, IsParentNode self) => self -> m Word Source #
newtype ParentNode Source #
Functions for this inteface are in JSDOM.ParentNode.
Instances
PToJSVal ParentNode Source # | |
Defined in JSDOM.Types pToJSVal :: ParentNode -> JSVal # | |
PFromJSVal ParentNode Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> ParentNode # | |
ToJSVal ParentNode Source # | |
Defined in JSDOM.Types toJSVal :: ParentNode -> JSM JSVal # toJSValListOf :: [ParentNode] -> JSM JSVal # | |
FromJSVal ParentNode Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe ParentNode) # fromJSValUnchecked :: JSVal -> JSM ParentNode # fromJSValListOf :: JSVal -> JSM (Maybe [ParentNode]) # fromJSValUncheckedListOf :: JSVal -> JSM [ParentNode] # | |
MakeObject ParentNode Source # | |
Defined in JSDOM.Types makeObject :: ParentNode -> JSM Object # | |
IsParentNode ParentNode Source # | |
Defined in JSDOM.Types | |
IsGObject ParentNode Source # | |
Defined in JSDOM.Types typeGType :: ParentNode -> JSM GType |
class IsGObject o => IsParentNode o Source #
Instances
toParentNode :: IsParentNode o => o -> ParentNode Source #