jsaddle-dom-0.9.4.0: DOM library that uses jsaddle to support both GHCJS and GHC

Safe HaskellNone
LanguageHaskell2010

JSDOM.Generated.Selection

Synopsis

Documentation

setBaseAndExtent :: (MonadDOM m, IsNode baseNode, IsNode extentNode) => Selection -> Maybe baseNode -> Word -> Maybe extentNode -> Word -> m () Source #

modify :: (MonadDOM m, ToJSString alter, ToJSString direction, ToJSString granularity) => Selection -> Maybe alter -> Maybe direction -> Maybe granularity -> m () Source #

newtype Selection Source #

Functions for this inteface are in JSDOM.Selection.

Mozilla Selection documentation

Constructors

Selection 

Fields

Instances
PToJSVal Selection Source # 
Instance details

Defined in JSDOM.Types

Methods

pToJSVal :: Selection -> JSVal #

PFromJSVal Selection Source # 
Instance details

Defined in JSDOM.Types

ToJSVal Selection Source # 
Instance details

Defined in JSDOM.Types

FromJSVal Selection Source # 
Instance details

Defined in JSDOM.Types

MakeObject Selection Source # 
Instance details

Defined in JSDOM.Types

IsGObject Selection Source # 
Instance details

Defined in JSDOM.Types