ghcjs-dom-0.9.9.2: DOM library that supports both GHCJS and GHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHCJS.DOM.Document

Synopsis

Documentation

class (IsNode o, IsEventTarget o, IsGlobalEventHandlers o, IsDocumentOrShadowRoot o, IsNonElementParentNode o, IsParentNode o, IsDocumentAndElementEventHandlers o, IsGObject o) => IsDocument o #

Instances

Instances details
IsDocument Document 
Instance details

Defined in JSDOM.Types

IsDocument HTMLDocument 
Instance details

Defined in JSDOM.Types

IsDocument XMLDocument 
Instance details

Defined in JSDOM.Types

newtype Document #

Constructors

Document 

Fields

Instances

Instances details
FromJSVal Document 
Instance details

Defined in JSDOM.Types

PFromJSVal Document 
Instance details

Defined in JSDOM.Types

Methods

pFromJSVal :: JSVal -> Document #

PToJSVal Document 
Instance details

Defined in JSDOM.Types

Methods

pToJSVal :: Document -> JSVal #

ToJSVal Document 
Instance details

Defined in JSDOM.Types

MakeObject 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

IsGObject Document 
Instance details

Defined in JSDOM.Types

IsGlobalEventHandlers Document 
Instance details

Defined in JSDOM.Types

IsNode Document 
Instance details

Defined in JSDOM.Types

IsNodeOrString Document 
Instance details

Defined in JSDOM.Types

IsNonElementParentNode Document 
Instance details

Defined in JSDOM.Types

IsParentNode Document 
Instance details

Defined in JSDOM.Types

IsXMLHttpRequestBody Document 
Instance details

Defined in JSDOM.Types

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

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

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

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

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

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

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

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

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

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

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

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

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

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 () #