ghcjs-dom-0.1.1.3: DOM library that supports both GHCJS and WebKitGTK

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM.DOMSelection

Documentation

domSelectionCollapse :: (IsDOMSelection self, IsNode node) => self -> Maybe node -> Int -> IO () Source

domSelectionContainsNode :: (IsDOMSelection self, IsNode node) => self -> Maybe node -> Bool -> IO Bool Source

domSelectionSelectAllChildren :: (IsDOMSelection self, IsNode node) => self -> Maybe node -> IO () Source

domSelectionExtend :: (IsDOMSelection self, IsNode node) => self -> Maybe node -> Int -> IO () Source

domSelectionAddRange :: (IsDOMSelection self, IsDOMRange range) => self -> Maybe range -> IO () Source

domSelectionModify :: (IsDOMSelection self, ToJSString alter, ToJSString direction, ToJSString granularity) => self -> alter -> direction -> granularity -> IO () Source

domSelectionSetBaseAndExtent :: (IsDOMSelection self, IsNode baseNode, IsNode extentNode) => self -> Maybe baseNode -> Int -> Maybe extentNode -> Int -> IO () Source

domSelectionSetPosition :: (IsDOMSelection self, IsNode node) => self -> Maybe node -> Int -> IO () Source