Element

Module:
core
Inherits from:
Declared In:

Overview

Use the links in the table of contents to the left to access the documentation.



Functions

blur
contains
focus
getAttribute
getAttributeNode
getAttributeNodeNS
getAttributeNS
getBoundingClientRect
getClientRects
getElementsByClassName
getElementsByTagName
getElementsByTagNameNS
hasAttribute
hasAttributeNS
querySelector
querySelectorAll
removeAttribute
removeAttributeNode
removeAttributeNS
scrollByLines
scrollByPages
scrollIntoView
scrollIntoViewIfNeeded
setAttribute
setAttributeNode
setAttributeNodeNS
setAttributeNS

blur


void blur(); 


contains


boolean contains(
    in Element element); 


focus


void focus(); 


getAttribute


DOMString getAttribute(
    in DOMString name); 


getAttributeNode


Attr getAttributeNode(
    in DOMString name); 


getAttributeNodeNS


Attr getAttributeNodeNS(
    in DOMString namespaceURI, 
    in DOMString localName); 


getAttributeNS


DOMString getAttributeNS(
    in DOMString namespaceURI, 
    in DOMString localName); 


getBoundingClientRect


ClientRect getBoundingClientRect(); 


getClientRects


ClientRectList getClientRects(); 


getElementsByClassName


NodeList getElementsByClassName(
    in DOMString name); 


getElementsByTagName


NodeList getElementsByTagName(
    in DOMString name); 


getElementsByTagNameNS


NodeList getElementsByTagNameNS(
    in DOMString namespaceURI, 
    in DOMString localName); 


hasAttribute


boolean hasAttribute(
    in DOMString name); 


hasAttributeNS


boolean hasAttributeNS(
    in DOMString namespaceURI, 
    in DOMString localName); 


querySelector


Element querySelector(
    in DOMString selectors) raises(DOMException); 


querySelectorAll


NodeList querySelectorAll(
    in DOMString selectors) raises(DOMException); 


removeAttribute


void removeAttribute(
    in DOMString name) raises(DOMException); 


removeAttributeNode


Attr removeAttributeNode(
    in Attr oldAttr) raises(DOMException); 


removeAttributeNS


void removeAttributeNS(
    in DOMString namespaceURI, 
    in DOMString localName) raises(DOMException); 


scrollByLines


void scrollByLines(
    in long lines); 


scrollByPages


void scrollByPages(
    in long pages); 


scrollIntoView


void scrollIntoView(
    in boolean alignWithTop); 


scrollIntoViewIfNeeded


void scrollIntoViewIfNeeded(
    in boolean centerIfNeeded); 


setAttribute


void setAttribute(
    in DOMString name, 
    in DOMString value) raises(DOMException); 


setAttributeNode


Attr setAttributeNode(
    in Attr newAttr) raises(DOMException); 


setAttributeNodeNS


Attr setAttributeNodeNS(
    in Attr newAttr) raises(DOMException); 


setAttributeNS


void setAttributeNS(
    in DOMString namespaceURI, 
    in DOMString qualifiedName, 
    in DOMString value) raises(DOMException); 

Member Data

childElementCount
clientHeight
clientLeft
clientTop
clientWidth
firstElementChild
lastElementChild
nextElementSibling
offsetHeight
offsetLeft
offsetParent
offsetTop
offsetWidth
previousElementSibling
scrollHeight
scrollLeft
scrollTop
scrollWidth
style
tagName

childElementCount


readonly attribute unsigned long childElementCount; 


clientHeight


readonly attribute long clientHeight; 


clientLeft


readonly attribute long clientLeft; 


clientTop


readonly attribute long clientTop; 


clientWidth


readonly attribute long clientWidth; 


firstElementChild


readonly attribute Element firstElementChild; 


lastElementChild


readonly attribute Element lastElementChild; 


nextElementSibling


readonly attribute Element nextElementSibling; 


offsetHeight


readonly attribute long offsetHeight; 


offsetLeft


readonly attribute long offsetLeft; 


offsetParent


readonly attribute Element offsetParent; 


offsetTop


readonly attribute long offsetTop; 


offsetWidth


readonly attribute long offsetWidth; 


previousElementSibling


readonly attribute Element previousElementSibling; 


scrollHeight


readonly attribute long scrollHeight; 


scrollLeft


attribute long scrollLeft; 


scrollTop


attribute long scrollTop; 


scrollWidth


readonly attribute long scrollWidth; 


style


readonly attribute CSSStyleDeclaration style; 


tagName


readonly attribute DOMString tagName; 

 

Last Updated: 2009-05-29