Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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:
Instances
PToJSVal HTMLOptionsCollection Source # | |
Defined in JSDOM.Types pToJSVal :: HTMLOptionsCollection -> JSVal # | |
PFromJSVal HTMLOptionsCollection Source # | |
Defined in JSDOM.Types | |
ToJSVal HTMLOptionsCollection Source # | |
Defined in JSDOM.Types toJSVal :: HTMLOptionsCollection -> JSM JSVal # toJSValListOf :: [HTMLOptionsCollection] -> JSM JSVal # | |
FromJSVal HTMLOptionsCollection Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe HTMLOptionsCollection) # fromJSValUnchecked :: JSVal -> JSM HTMLOptionsCollection # fromJSValListOf :: JSVal -> JSM (Maybe [HTMLOptionsCollection]) # fromJSValUncheckedListOf :: JSVal -> JSM [HTMLOptionsCollection] # | |
MakeObject HTMLOptionsCollection Source # | |
Defined in JSDOM.Types | |
IsHTMLCollection HTMLOptionsCollection Source # | |
Defined in JSDOM.Types | |
IsHTMLCollectionOrElement HTMLOptionsCollection Source # | |
Defined in JSDOM.Types | |
IsGObject HTMLOptionsCollection Source # | |
Defined in JSDOM.Types |