Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newRange :: MonadDOM m => m Range
- setStart :: (MonadDOM m, IsNode node) => Range -> node -> Word -> m ()
- setEnd :: (MonadDOM m, IsNode node) => Range -> node -> Word -> m ()
- setStartBefore :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- setStartAfter :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- setEndBefore :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- setEndAfter :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- collapse :: MonadDOM m => Range -> Bool -> m ()
- selectNode :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- selectNodeContents :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- compareBoundaryPoints :: MonadDOM m => Range -> Word -> Range -> m Int
- compareBoundaryPoints_ :: MonadDOM m => Range -> Word -> Range -> m ()
- deleteContents :: MonadDOM m => Range -> m ()
- extractContents :: MonadDOM m => Range -> m DocumentFragment
- extractContents_ :: MonadDOM m => Range -> m ()
- cloneContents :: MonadDOM m => Range -> m DocumentFragment
- cloneContents_ :: MonadDOM m => Range -> m ()
- insertNode :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- surroundContents :: (MonadDOM m, IsNode newParent) => Range -> newParent -> m ()
- cloneRange :: MonadDOM m => Range -> m Range
- cloneRange_ :: MonadDOM m => Range -> m ()
- detach :: MonadDOM m => Range -> m ()
- isPointInRange :: (MonadDOM m, IsNode node) => Range -> node -> Word -> m Bool
- isPointInRange_ :: (MonadDOM m, IsNode node) => Range -> node -> Word -> m ()
- comparePoint :: (MonadDOM m, IsNode node) => Range -> node -> Word -> m Int
- comparePoint_ :: (MonadDOM m, IsNode node) => Range -> node -> Word -> m ()
- intersectsNode :: (MonadDOM m, IsNode node) => Range -> node -> m Bool
- intersectsNode_ :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- toString :: (MonadDOM m, FromJSString result) => Range -> m result
- toString_ :: MonadDOM m => Range -> m ()
- getClientRects :: MonadDOM m => Range -> m [DOMRect]
- getClientRects_ :: MonadDOM m => Range -> m ()
- getBoundingClientRect :: MonadDOM m => Range -> m DOMRect
- getBoundingClientRect_ :: MonadDOM m => Range -> m ()
- createContextualFragment :: (MonadDOM m, ToJSString fragment) => Range -> fragment -> m DocumentFragment
- createContextualFragment_ :: (MonadDOM m, ToJSString fragment) => Range -> fragment -> m ()
- expand :: (MonadDOM m, ToJSString unit) => Range -> Maybe unit -> m ()
- compareNode :: (MonadDOM m, IsNode node) => Range -> node -> m Int
- compareNode_ :: (MonadDOM m, IsNode node) => Range -> node -> m ()
- pattern START_TO_START :: forall a. (Eq a, Num a) => a
- pattern START_TO_END :: forall a. (Eq a, Num a) => a
- pattern END_TO_END :: forall a. (Eq a, Num a) => a
- pattern END_TO_START :: forall a. (Eq a, Num a) => a
- pattern NODE_BEFORE :: forall a. (Eq a, Num a) => a
- pattern NODE_AFTER :: forall a. (Eq a, Num a) => a
- pattern NODE_BEFORE_AND_AFTER :: forall a. (Eq a, Num a) => a
- pattern NODE_INSIDE :: forall a. (Eq a, Num a) => a
- getStartContainer :: MonadDOM m => Range -> m Node
- getStartOffset :: MonadDOM m => Range -> m Int
- getEndContainer :: MonadDOM m => Range -> m Node
- getEndOffset :: MonadDOM m => Range -> m Int
- getCollapsed :: MonadDOM m => Range -> m Bool
- getCommonAncestorContainer :: MonadDOM m => Range -> m Node
- newtype Range = Range {}
- gTypeRange :: JSM GType
Documentation
deleteContents :: MonadDOM m => Range -> m () Source #
extractContents :: MonadDOM m => Range -> m DocumentFragment Source #
extractContents_ :: MonadDOM m => Range -> m () Source #
cloneContents :: MonadDOM m => Range -> m DocumentFragment Source #
cloneContents_ :: MonadDOM m => Range -> m () Source #
cloneRange_ :: MonadDOM m => Range -> m () Source #
getClientRects_ :: MonadDOM m => Range -> m () Source #
getBoundingClientRect_ :: MonadDOM m => Range -> m () Source #
createContextualFragment :: (MonadDOM m, ToJSString fragment) => Range -> fragment -> m DocumentFragment Source #
createContextualFragment_ :: (MonadDOM m, ToJSString fragment) => Range -> fragment -> m () Source #
pattern START_TO_START :: forall a. (Eq a, Num a) => a Source #
pattern START_TO_END :: forall a. (Eq a, Num a) => a Source #
pattern END_TO_END :: forall a. (Eq a, Num a) => a Source #
pattern END_TO_START :: forall a. (Eq a, Num a) => a Source #
pattern NODE_BEFORE :: forall a. (Eq a, Num a) => a Source #
pattern NODE_AFTER :: forall a. (Eq a, Num a) => a Source #
pattern NODE_BEFORE_AND_AFTER :: forall a. (Eq a, Num a) => a Source #
pattern NODE_INSIDE :: forall a. (Eq a, Num a) => a Source #
Functions for this inteface are in JSDOM.Range.
Instances
PToJSVal Range Source # | |
Defined in JSDOM.Types | |
PFromJSVal Range Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Range # | |
ToJSVal Range Source # | |
FromJSVal Range Source # | |
MakeObject Range Source # | |
Defined in JSDOM.Types makeObject :: Range -> JSM Object # | |
IsGObject Range Source # | |
Defined in JSDOM.Types |
gTypeRange :: JSM GType Source #