Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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.
class IsGObject o => IsParentNode o Source #
toParentNode :: IsParentNode o => o -> ParentNode Source #