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

Safe HaskellNone
LanguageHaskell2010

GHCJS.DOM.Element

Documentation

elementGetAttribute :: (IsElement self, ToJSString name, FromJSString result) => self -> name -> IO result Source

elementSetAttribute :: (IsElement self, ToJSString name, ToJSString value) => self -> name -> value -> IO () Source

elementRemoveAttribute :: (IsElement self, ToJSString name) => self -> name -> IO () Source

elementGetAttributeNode :: (IsElement self, ToJSString name) => self -> name -> IO (Maybe DOMAttr) Source

elementSetAttributeNode :: (IsElement self, IsDOMAttr newAttr) => self -> Maybe newAttr -> IO (Maybe DOMAttr) Source

elementRemoveAttributeNode :: (IsElement self, IsDOMAttr oldAttr) => self -> Maybe oldAttr -> IO (Maybe DOMAttr) Source

elementGetAttributeNS :: (IsElement self, ToJSString namespaceURI, ToJSString localName, FromJSString result) => self -> namespaceURI -> localName -> IO result Source

elementSetAttributeNS :: (IsElement self, ToJSString namespaceURI, ToJSString qualifiedName, ToJSString value) => self -> namespaceURI -> qualifiedName -> value -> IO () Source

elementRemoveAttributeNS :: (IsElement self, ToJSString namespaceURI, ToJSString localName) => self -> namespaceURI -> localName -> IO () Source

elementGetElementsByTagNameNS :: (IsElement self, ToJSString namespaceURI, ToJSString localName) => self -> namespaceURI -> localName -> IO (Maybe NodeList) Source

elementGetAttributeNodeNS :: (IsElement self, ToJSString namespaceURI, ToJSString localName) => self -> namespaceURI -> localName -> IO (Maybe DOMAttr) Source

elementSetAttributeNodeNS :: (IsElement self, IsDOMAttr newAttr) => self -> Maybe newAttr -> IO (Maybe DOMAttr) Source

elementHasAttribute :: (IsElement self, ToJSString name) => self -> name -> IO Bool Source

elementHasAttributeNS :: (IsElement self, ToJSString namespaceURI, ToJSString localName) => self -> namespaceURI -> localName -> IO Bool Source

elementFocus :: IsElement self => self -> IO () Source

elementBlur :: IsElement self => self -> IO () Source

elementScrollIntoView :: IsElement self => self -> Bool -> IO () Source

elementScrollByLines :: IsElement self => self -> Int -> IO () Source

elementScrollByPages :: IsElement self => self -> Int -> IO () Source

elementQuerySelector :: (IsElement self, ToJSString selectors) => self -> selectors -> IO (Maybe Element) Source

elementQuerySelectorAll :: (IsElement self, ToJSString selectors) => self -> selectors -> IO (Maybe NodeList) Source

elementMatches :: (IsElement self, ToJSString selectors) => self -> selectors -> IO Bool Source

elementClosest :: (IsElement self, ToJSString selectors) => self -> selectors -> IO (Maybe Element) Source

elementWebkitMatchesSelector :: (IsElement self, ToJSString selectors) => self -> selectors -> IO Bool Source

elementGetTagName :: (IsElement self, FromJSString result) => self -> IO result Source

elementSetId :: (IsElement self, ToJSString val) => self -> val -> IO () Source

elementGetId :: (IsElement self, FromJSString result) => self -> IO result Source

elementSetScrollLeft :: IsElement self => self -> Int -> IO () Source

elementSetScrollTop :: IsElement self => self -> Int -> IO () Source

elementSetClassName :: (IsElement self, ToJSString val) => self -> val -> IO () Source

elementGetClassName :: (IsElement self, FromJSString result) => self -> IO result Source

elementGetWebkitRegionOverset :: (IsElement self, FromJSString result) => self -> IO result Source

elementOncut :: IsElement self => Signal self (EventM UIEvent self ()) Source

class IsNode o => IsElement o Source

Instances

IsElement HTMLVideoElement 
IsElement HTMLUListElement 
IsElement HTMLTitleElement 
IsElement HTMLTextAreaElement 
IsElement HTMLTableSectionElement 
IsElement HTMLTableRowElement 
IsElement HTMLTableElement 
IsElement HTMLTableColElement 
IsElement HTMLTableCellElement 
IsElement HTMLTableCaptionElement 
IsElement HTMLStyleElement 
IsElement HTMLSelectElement 
IsElement HTMLScriptElement 
IsElement HTMLQuoteElement 
IsElement HTMLPreElement 
IsElement HTMLParamElement 
IsElement HTMLParagraphElement 
IsElement HTMLOptionElement 
IsElement HTMLOptGroupElement 
IsElement HTMLObjectElement 
IsElement HTMLOListElement 
IsElement HTMLModElement 
IsElement HTMLMetaElement 
IsElement HTMLMenuElement 
IsElement HTMLMediaElement 
IsElement HTMLMarqueeElement 
IsElement HTMLMapElement 
IsElement HTMLLinkElement 
IsElement HTMLLegendElement 
IsElement HTMLLabelElement 
IsElement HTMLLIElement 
IsElement HTMLKeygenElement 
IsElement HTMLInputElement 
IsElement HTMLImageElement 
IsElement HTMLIFrameElement 
IsElement HTMLHtmlElement 
IsElement HTMLHeadingElement 
IsElement HTMLHeadElement 
IsElement HTMLHRElement 
IsElement HTMLFrameSetElement 
IsElement HTMLFrameElement 
IsElement HTMLFormElement 
IsElement HTMLFontElement 
IsElement HTMLFieldSetElement 
IsElement HTMLEmbedElement 
IsElement HTMLElement 
IsElement HTMLDivElement 
IsElement HTMLDirectoryElement 
IsElement HTMLDetailsElement 
IsElement HTMLDListElement 
IsElement HTMLCanvasElement 
IsElement HTMLButtonElement 
IsElement HTMLBodyElement 
IsElement HTMLBaseFontElement 
IsElement HTMLBaseElement 
IsElement HTMLBRElement 
IsElement HTMLAudioElement 
IsElement HTMLAreaElement 
IsElement HTMLAppletElement 
IsElement HTMLAnchorElement 
IsElement Element