Safe Haskell | None |
---|---|
Language | Haskell2010 |
- namedItem :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m (Maybe Node)
- addBefore :: (MonadDOM m, IsHTMLElement element, IsHTMLElement before) => HTMLOptionsCollection -> Maybe element -> Maybe before -> m ()
- add :: (MonadDOM m, IsHTMLElement element) => HTMLOptionsCollection -> Maybe element -> Int -> m ()
- remove :: MonadDOM m => HTMLOptionsCollection -> Word -> m ()
- setSelectedIndex :: MonadDOM m => HTMLOptionsCollection -> Int -> m ()
- getSelectedIndex :: MonadDOM m => HTMLOptionsCollection -> m Int
- setLength :: MonadDOM m => HTMLOptionsCollection -> Word -> m ()
- getLength :: MonadDOM m => HTMLOptionsCollection -> m Word
- data HTMLOptionsCollection
- castToHTMLOptionsCollection :: IsGObject obj => obj -> JSM HTMLOptionsCollection
- gTypeHTMLOptionsCollection :: JSM GType
Documentation
namedItem :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m (Maybe Node) Source #
addBefore :: (MonadDOM m, IsHTMLElement element, IsHTMLElement before) => HTMLOptionsCollection -> Maybe element -> Maybe before -> m () Source #
add :: (MonadDOM m, IsHTMLElement element) => HTMLOptionsCollection -> Maybe element -> Int -> m () Source #
setSelectedIndex :: MonadDOM m => HTMLOptionsCollection -> Int -> m () Source #
getSelectedIndex :: MonadDOM m => HTMLOptionsCollection -> m Int Source #
data HTMLOptionsCollection Source #
Functions for this inteface are in JSDOM.HTMLOptionsCollection. Base interface functions are in:
castToHTMLOptionsCollection :: IsGObject obj => obj -> JSM HTMLOptionsCollection Source #