Safe Haskell | None |
---|---|
Language | Haskell2010 |
- item :: (MonadDOM m, FromJSString result) => DOMTokenList -> Word -> m (Maybe result)
- item_ :: MonadDOM m => DOMTokenList -> Word -> m ()
- itemUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => DOMTokenList -> Word -> m result
- itemUnchecked :: (MonadDOM m, FromJSString result) => DOMTokenList -> Word -> m result
- contains :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m Bool
- contains_ :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m ()
- add :: (MonadDOM m, ToJSString tokens) => DOMTokenList -> [tokens] -> m ()
- remove :: (MonadDOM m, ToJSString tokens) => DOMTokenList -> [tokens] -> m ()
- toggle :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> Bool -> m Bool
- toggle_ :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> Bool -> m ()
- replace :: (MonadDOM m, ToJSString token, ToJSString newToken) => DOMTokenList -> token -> newToken -> m ()
- supports :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m Bool
- supports_ :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m ()
- getLength :: MonadDOM m => DOMTokenList -> m Word
- setValue :: (MonadDOM m, ToJSString val) => DOMTokenList -> val -> m ()
- getValue :: (MonadDOM m, FromJSString result) => DOMTokenList -> m result
- newtype DOMTokenList = DOMTokenList {}
- gTypeDOMTokenList :: JSM GType
Documentation
item :: (MonadDOM m, FromJSString result) => DOMTokenList -> Word -> m (Maybe result) Source #
itemUnsafe :: (MonadDOM m, HasCallStack, FromJSString result) => DOMTokenList -> Word -> m result Source #
itemUnchecked :: (MonadDOM m, FromJSString result) => DOMTokenList -> Word -> m result Source #
contains :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m Bool Source #
contains_ :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m () Source #
add :: (MonadDOM m, ToJSString tokens) => DOMTokenList -> [tokens] -> m () Source #
remove :: (MonadDOM m, ToJSString tokens) => DOMTokenList -> [tokens] -> m () Source #
toggle :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> Bool -> m Bool Source #
toggle_ :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> Bool -> m () Source #
replace :: (MonadDOM m, ToJSString token, ToJSString newToken) => DOMTokenList -> token -> newToken -> m () Source #
supports :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m Bool Source #
supports_ :: (MonadDOM m, ToJSString token) => DOMTokenList -> token -> m () Source #
setValue :: (MonadDOM m, ToJSString val) => DOMTokenList -> val -> m () Source #
getValue :: (MonadDOM m, FromJSString result) => DOMTokenList -> m result Source #
newtype DOMTokenList Source #
Functions for this inteface are in JSDOM.DOMTokenList.