Safe Haskell | None |
---|---|
Language | Haskell2010 |
- namedItem :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m (Maybe Node)
- namedItem_ :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m ()
- namedItemUnsafe :: (MonadDOM m, ToJSString name, HasCallStack) => HTMLOptionsCollection -> name -> m Node
- namedItemUnchecked :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m 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
- newtype HTMLOptionsCollection = HTMLOptionsCollection {}
- gTypeHTMLOptionsCollection :: JSM GType
Documentation
namedItem :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m (Maybe Node) Source #
namedItem_ :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m () Source #
namedItemUnsafe :: (MonadDOM m, ToJSString name, HasCallStack) => HTMLOptionsCollection -> name -> m Node Source #
namedItemUnchecked :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m 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 #
newtype HTMLOptionsCollection Source #
Functions for this inteface are in JSDOM.HTMLOptionsCollection. Base interface functions are in: