Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newText :: (MonadDOM m, ToJSString data') => Maybe data' -> m Text
- splitText :: (MonadDOM m, IsText self) => self -> Word -> m Text
- splitText_ :: (MonadDOM m, IsText self) => self -> Word -> m ()
- getWholeText :: (MonadDOM m, IsText self, FromJSString result) => self -> m result
- newtype Text = Text {}
- gTypeText :: JSM GType
- class (IsCharacterData o, IsNode o, IsEventTarget o, IsNonDocumentTypeChildNode o, IsChildNode o, IsSlotable o, IsGObject o) => IsText o
- toText :: IsText o => o -> Text
Documentation
getWholeText :: (MonadDOM m, IsText self, FromJSString result) => self -> m result Source #
Functions for this inteface are in JSDOM.Text. Base interface functions are in:
Instances
class (IsCharacterData o, IsNode o, IsEventTarget o, IsNonDocumentTypeChildNode o, IsChildNode o, IsSlotable o, IsGObject o) => IsText o Source #
Instances
IsText Text Source # | |
Defined in JSDOM.Types | |
IsText CDATASection Source # | |
Defined in JSDOM.Types |