Safe Haskell | None |
---|---|
Language | Haskell2010 |
- addBefore :: (MonadDOM m, IsHTMLOptionElementOrGroup element, IsHTMLElementOrLong before) => HTMLOptionsCollection -> element -> Maybe before -> m ()
- remove :: MonadDOM m => HTMLOptionsCollection -> Int -> m ()
- item :: MonadDOM m => HTMLOptionsCollection -> Word -> m (Maybe HTMLOptionElement)
- item_ :: MonadDOM m => HTMLOptionsCollection -> Word -> m ()
- itemUnsafe :: (MonadDOM m, HasCallStack) => HTMLOptionsCollection -> Word -> m HTMLOptionElement
- itemUnchecked :: MonadDOM m => HTMLOptionsCollection -> Word -> m HTMLOptionElement
- namedItem :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m (Maybe HTMLOptionElement)
- namedItem_ :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m ()
- namedItemUnsafe :: (MonadDOM m, ToJSString name, HasCallStack) => HTMLOptionsCollection -> name -> m HTMLOptionElement
- namedItemUnchecked :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m HTMLOptionElement
- setLength :: MonadDOM m => HTMLOptionsCollection -> Word -> m ()
- getLength :: MonadDOM m => HTMLOptionsCollection -> m Word
- setSelectedIndex :: MonadDOM m => HTMLOptionsCollection -> Int -> m ()
- getSelectedIndex :: MonadDOM m => HTMLOptionsCollection -> m Int
- newtype HTMLOptionsCollection = HTMLOptionsCollection {}
- gTypeHTMLOptionsCollection :: JSM GType
Documentation
addBefore :: (MonadDOM m, IsHTMLOptionElementOrGroup element, IsHTMLElementOrLong before) => HTMLOptionsCollection -> element -> Maybe before -> m () Source #
item :: MonadDOM m => HTMLOptionsCollection -> Word -> m (Maybe HTMLOptionElement) Source #
itemUnsafe :: (MonadDOM m, HasCallStack) => HTMLOptionsCollection -> Word -> m HTMLOptionElement Source #
itemUnchecked :: MonadDOM m => HTMLOptionsCollection -> Word -> m HTMLOptionElement Source #
namedItem :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m (Maybe HTMLOptionElement) Source #
namedItem_ :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m () Source #
namedItemUnsafe :: (MonadDOM m, ToJSString name, HasCallStack) => HTMLOptionsCollection -> name -> m HTMLOptionElement Source #
namedItemUnchecked :: (MonadDOM m, ToJSString name) => HTMLOptionsCollection -> name -> m HTMLOptionElement 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: