Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- item :: (MonadDOM m, IsHTMLCollection self) => self -> Word -> m (Maybe Element)
- item_ :: (MonadDOM m, IsHTMLCollection self) => self -> Word -> m ()
- itemUnsafe :: (MonadDOM m, IsHTMLCollection self, HasCallStack) => self -> Word -> m Element
- itemUnchecked :: (MonadDOM m, IsHTMLCollection self) => self -> Word -> m Element
- namedItem :: (MonadDOM m, IsHTMLCollection self, ToJSString name) => self -> name -> m (Maybe Element)
- namedItem_ :: (MonadDOM m, IsHTMLCollection self, ToJSString name) => self -> name -> m ()
- namedItemUnsafe :: (MonadDOM m, IsHTMLCollection self, ToJSString name, HasCallStack) => self -> name -> m Element
- namedItemUnchecked :: (MonadDOM m, IsHTMLCollection self, ToJSString name) => self -> name -> m Element
- getLength :: (MonadDOM m, IsHTMLCollection self) => self -> m Word
- newtype HTMLCollection = HTMLCollection {}
- gTypeHTMLCollection :: JSM GType
- class IsGObject o => IsHTMLCollection o
- toHTMLCollection :: IsHTMLCollection o => o -> HTMLCollection
Documentation
itemUnsafe :: (MonadDOM m, IsHTMLCollection self, HasCallStack) => self -> Word -> m Element Source #
itemUnchecked :: (MonadDOM m, IsHTMLCollection self) => self -> Word -> m Element Source #
namedItem :: (MonadDOM m, IsHTMLCollection self, ToJSString name) => self -> name -> m (Maybe Element) Source #
namedItem_ :: (MonadDOM m, IsHTMLCollection self, ToJSString name) => self -> name -> m () Source #
namedItemUnsafe :: (MonadDOM m, IsHTMLCollection self, ToJSString name, HasCallStack) => self -> name -> m Element Source #
namedItemUnchecked :: (MonadDOM m, IsHTMLCollection self, ToJSString name) => self -> name -> m Element Source #
newtype HTMLCollection Source #
Functions for this inteface are in JSDOM.HTMLCollection.
Instances
PToJSVal HTMLCollection Source # | |
Defined in JSDOM.Types pToJSVal :: HTMLCollection -> JSVal # | |
PFromJSVal HTMLCollection Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> HTMLCollection # | |
ToJSVal HTMLCollection Source # | |
Defined in JSDOM.Types toJSVal :: HTMLCollection -> JSM JSVal # toJSValListOf :: [HTMLCollection] -> JSM JSVal # | |
FromJSVal HTMLCollection Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe HTMLCollection) # fromJSValUnchecked :: JSVal -> JSM HTMLCollection # fromJSValListOf :: JSVal -> JSM (Maybe [HTMLCollection]) # fromJSValUncheckedListOf :: JSVal -> JSM [HTMLCollection] # | |
MakeObject HTMLCollection Source # | |
Defined in JSDOM.Types makeObject :: HTMLCollection -> JSM Object # | |
IsHTMLCollection HTMLCollection Source # | |
Defined in JSDOM.Types | |
IsHTMLCollectionOrElement HTMLCollection Source # | |
Defined in JSDOM.Types | |
IsGObject HTMLCollection Source # | |
Defined in JSDOM.Types typeGType :: HTMLCollection -> JSM GType |
class IsGObject o => IsHTMLCollection o Source #
Instances
IsHTMLCollection HTMLOptionsCollection Source # | |
Defined in JSDOM.Types | |
IsHTMLCollection HTMLFormControlsCollection Source # | |
Defined in JSDOM.Types | |
IsHTMLCollection HTMLCollection Source # | |
Defined in JSDOM.Types |
toHTMLCollection :: IsHTMLCollection o => o -> HTMLCollection Source #