ghcjs-dom-0.9.4.0: DOM library that supports both GHCJS and GHC

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM.Document

Synopsis

Documentation

setDir :: (MonadDOM m, IsDocument self, ToJSString val) => self -> val -> m () #

getCSSCanvasContext_ :: (MonadDOM m, IsDocument self, ToJSString contextId, ToJSString name) => self -> contextId -> name -> Int -> Int -> m () #

getOverrideStyle_ :: (MonadDOM m, IsDocument self, IsElement element, ToJSString pseudoElement) => self -> Maybe element -> Maybe pseudoElement -> m () #

getOverrideStyle :: (MonadDOM m, IsDocument self, IsElement element, ToJSString pseudoElement) => self -> Maybe element -> Maybe pseudoElement -> m CSSStyleDeclaration #

evaluate_ :: (MonadDOM m, IsDocument self, ToJSString expression, IsNode contextNode) => self -> Maybe expression -> Maybe contextNode -> Maybe XPathNSResolver -> Maybe Word -> Maybe XPathResult -> m () #

evaluate :: (MonadDOM m, IsDocument self, ToJSString expression, IsNode contextNode) => self -> Maybe expression -> Maybe contextNode -> Maybe XPathNSResolver -> Maybe Word -> Maybe XPathResult -> m XPathResult #

createNSResolver_ :: (MonadDOM m, IsDocument self, IsNode nodeResolver) => self -> Maybe nodeResolver -> m () #

queryCommandValue :: (MonadDOM m, IsDocument self, ToJSString commandId, FromJSString result) => self -> commandId -> m result #

execCommand_ :: (MonadDOM m, IsDocument self, ToJSString commandId, ToJSString value) => self -> commandId -> Bool -> Maybe value -> m () #

execCommand :: (MonadDOM m, IsDocument self, ToJSString commandId, ToJSString value) => self -> commandId -> Bool -> Maybe value -> m Bool #

createAttributeNS_ :: (MonadDOM m, IsDocument self, ToJSString namespaceURI, ToJSString qualifiedName) => self -> Maybe namespaceURI -> qualifiedName -> m () #

createAttributeNS :: (MonadDOM m, IsDocument self, ToJSString namespaceURI, ToJSString qualifiedName) => self -> Maybe namespaceURI -> qualifiedName -> m Attr #

getElementsByTagNameNS_ :: (MonadDOM m, IsDocument self, ToJSString namespaceURI, ToJSString localName) => self -> Maybe namespaceURI -> localName -> m () #

newtype Document #

Constructors

Document 

Fields

Instances
PToJSVal Document 
Instance details

Defined in JSDOM.Types

Methods

pToJSVal :: Document -> JSVal #

PFromJSVal Document 
Instance details

Defined in JSDOM.Types

Methods

pFromJSVal :: JSVal -> Document #

ToJSVal Document 
Instance details

Defined in JSDOM.Types

FromJSVal Document 
Instance details

Defined in JSDOM.Types

MakeObject Document 
Instance details

Defined in JSDOM.Types

IsGObject Document 
Instance details

Defined in JSDOM.Types

IsNodeOrString Document 
Instance details

Defined in JSDOM.Types

IsXMLHttpRequestBody Document 
Instance details

Defined in JSDOM.Types

IsDocument Document 
Instance details

Defined in JSDOM.Types

IsDocumentAndElementEventHandlers Document 
Instance details

Defined in JSDOM.Types

IsDocumentOrShadowRoot Document 
Instance details

Defined in JSDOM.Types

IsEventTarget Document 
Instance details

Defined in JSDOM.Types

IsGlobalEventHandlers Document 
Instance details

Defined in JSDOM.Types

IsNode Document 
Instance details

Defined in JSDOM.Types

IsNonElementParentNode Document 
Instance details

Defined in JSDOM.Types

IsParentNode Document 
Instance details

Defined in JSDOM.Types

createElement_ :: (MonadDOM m, IsDocument self, ToJSString localName) => self -> localName -> m () #

createElementNS :: (MonadDOM m, IsDocument self, ToJSString namespaceURI, ToJSString qualifiedName) => self -> Maybe namespaceURI -> qualifiedName -> m Element #

createElementNS_ :: (MonadDOM m, IsDocument self, ToJSString namespaceURI, ToJSString qualifiedName) => self -> Maybe namespaceURI -> qualifiedName -> m () #