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

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM.Document

Documentation

documentCreateElement :: (IsDocument self, ToJSString tagName) => self -> tagName -> IO (Maybe Element) Source

documentCreateTextNode :: (IsDocument self, ToJSString data') => self -> data' -> IO (Maybe Text) Source

documentCreateComment :: (IsDocument self, ToJSString data') => self -> data' -> IO (Maybe Comment) Source

documentCreateAttribute :: (IsDocument self, ToJSString name) => self -> name -> IO (Maybe DOMAttr) Source

documentGetElementsByTagName :: (IsDocument self, ToJSString tagname) => self -> tagname -> IO (Maybe NodeList) Source

documentImportNode :: (IsDocument self, IsNode importedNode) => self -> Maybe importedNode -> Bool -> IO (Maybe Node) Source

documentCreateElementNS :: (IsDocument self, ToJSString namespaceURI, ToJSString qualifiedName) => self -> namespaceURI -> qualifiedName -> IO (Maybe Element) Source

documentCreateAttributeNS :: (IsDocument self, ToJSString namespaceURI, ToJSString qualifiedName) => self -> namespaceURI -> qualifiedName -> IO (Maybe DOMAttr) Source

documentGetElementsByTagNameNS :: (IsDocument self, ToJSString namespaceURI, ToJSString localName) => self -> namespaceURI -> localName -> IO (Maybe NodeList) Source

documentGetElementById :: (IsDocument self, ToJSString elementId) => self -> elementId -> IO (Maybe Element) Source

documentAdoptNode :: (IsDocument self, IsNode source) => self -> Maybe source -> IO (Maybe Node) Source

documentCreateEvent :: (IsDocument self, ToJSString eventType) => self -> eventType -> IO (Maybe Event) Source

documentCreateNodeIterator :: (IsDocument self, IsNode root, IsNodeFilter filter) => self -> Maybe root -> Word -> Maybe filter -> Bool -> IO (Maybe NodeIterator) Source

documentCreateTreeWalker :: (IsDocument self, IsNode root, IsNodeFilter filter) => self -> Maybe root -> Word -> Maybe filter -> Bool -> IO (Maybe TreeWalker) Source

documentGetOverrideStyle :: (IsDocument self, IsElement element, ToJSString pseudoElement) => self -> Maybe element -> pseudoElement -> IO (Maybe CSSStyleDeclaration) Source

documentCreateExpression :: (IsDocument self, ToJSString expression, IsXPathNSResolver resolver) => self -> expression -> Maybe resolver -> IO (Maybe XPathExpression) Source

documentCreateNSResolver :: (IsDocument self, IsNode nodeResolver) => self -> Maybe nodeResolver -> IO (Maybe XPathNSResolver) Source

documentEvaluate :: (IsDocument self, ToJSString expression, IsNode contextNode, IsXPathNSResolver resolver, IsXPathResult inResult) => self -> expression -> Maybe contextNode -> Maybe resolver -> Word -> Maybe inResult -> IO (Maybe XPathResult) Source

documentExecCommand :: (IsDocument self, ToJSString command, ToJSString value) => self -> command -> Bool -> value -> IO Bool Source

documentQueryCommandEnabled :: (IsDocument self, ToJSString command) => self -> command -> IO Bool Source

documentQueryCommandIndeterm :: (IsDocument self, ToJSString command) => self -> command -> IO Bool Source

documentQueryCommandState :: (IsDocument self, ToJSString command) => self -> command -> IO Bool Source

documentQueryCommandSupported :: (IsDocument self, ToJSString command) => self -> command -> IO Bool Source

documentQueryCommandValue :: (IsDocument self, ToJSString command, FromJSString result) => self -> command -> IO result Source

documentGetElementsByName :: (IsDocument self, ToJSString elementName) => self -> elementName -> IO (Maybe NodeList) Source

documentGetElementsByClassName :: (IsDocument self, ToJSString tagname) => self -> tagname -> IO (Maybe NodeList) Source

documentQuerySelector :: (IsDocument self, ToJSString selectors) => self -> selectors -> IO (Maybe Element) Source

documentQuerySelectorAll :: (IsDocument self, ToJSString selectors) => self -> selectors -> IO (Maybe NodeList) Source

documentGetInputEncoding :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetXmlEncoding :: (IsDocument self, FromJSString result) => self -> IO result Source

documentSetXmlVersion :: (IsDocument self, ToJSString val) => self -> val -> IO () Source

documentGetXmlVersion :: (IsDocument self, FromJSString result) => self -> IO result Source

documentSetDocumentURI :: (IsDocument self, ToJSString val) => self -> val -> IO () Source

documentGetDocumentURI :: (IsDocument self, FromJSString result) => self -> IO result Source

documentSetTitle :: (IsDocument self, ToJSString val) => self -> val -> IO () Source

documentGetTitle :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetReferrer :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetDomain :: (IsDocument self, FromJSString result) => self -> IO result Source

documentSetCookie :: (IsDocument self, ToJSString val) => self -> val -> IO () Source

documentGetCookie :: (IsDocument self, FromJSString result) => self -> IO result Source

documentSetBody :: (IsDocument self, IsHTMLElement val) => self -> Maybe val -> IO () Source

documentGetLastModified :: (IsDocument self, FromJSString result) => self -> IO result Source

documentSetCharset :: (IsDocument self, ToJSString val) => self -> val -> IO () Source

documentGetCharset :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetDefaultCharset :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetReadyState :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetCharacterSet :: (IsDocument self, FromJSString result) => self -> IO result Source

documentSetSelectedStylesheetSet :: (IsDocument self, ToJSString val) => self -> val -> IO () Source

documentGetCompatMode :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetVisibilityState :: (IsDocument self, FromJSString result) => self -> IO result Source

documentGetOrigin :: (IsDocument self, FromJSString result) => self -> IO result Source