webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
Element Interface Reference

import"Element.idl";

Inheritance diagram for Element:

Public Member Functions

DOMString getAttribute (DOMString name)
 
void setAttribute (DOMString name, DOMString value)
 
void removeAttribute (DOMString name)
 
Attr getAttributeNode (DOMString name)
 
Attr setAttributeNode (Attr newAttr)
 
Attr removeAttributeNode (Attr oldAttr)
 
HTMLCollection getElementsByTagName (DOMString name)
 
boolean hasAttributes ()
 
DOMString getAttributeNS (DOMString? namespaceURI, DOMString localName)
 
void setAttributeNS (DOMString? namespaceURI, DOMString qualifiedName, DOMString value)
 
void removeAttributeNS (DOMString? namespaceURI, DOMString localName)
 
HTMLCollection getElementsByTagNameNS (DOMString? namespaceURI, DOMString localName)
 
Attr getAttributeNodeNS (DOMString? namespaceURI, DOMString localName)
 
Attr setAttributeNodeNS (Attr newAttr)
 
boolean hasAttribute (DOMString name)
 
boolean hasAttributeNS (DOMString? namespaceURI, DOMString localName)
 
void scrollIntoView (optional boolean alignWithTop=true)
 
void scrollIntoViewIfNeeded (optional boolean centerIfNeeded=true)
 
void scroll (optional ScrollToOptions options)
 
void scroll (unrestricted double x, unrestricted double y)
 
void scrollTo (optional ScrollToOptions options)
 
void scrollTo (unrestricted double x, unrestricted double y)
 
void scrollBy (optional ScrollToOptions option)
 
void scrollBy (unrestricted double x, unrestricted double y)
 
void scrollByLines (optional long lines=0)
 
void scrollByPages (optional long pages=0)
 
sequence< DOMString > getAttributeNames ()
 
HTMLCollection getElementsByClassName (DOMString name)
 
boolean matches (DOMString selectors)
 
Element closest (DOMString selectors)
 
boolean webkitMatchesSelector (DOMString selectors)
 
ClientRectList getClientRects ()
 
ClientRect getBoundingClientRect ()
 
Element insertAdjacentElement (DOMString where, Element element)
 
void insertAdjacentHTML (DOMString where, DOMString html)
 
void insertAdjacentText (DOMString where, DOMString text)
 
void requestPointerLock ()
 
sequence< RangewebkitGetRegionFlowRanges ()
 
ShadowRoot attachShadow (ShadowRootInit init)
 

Public Attributes

readonly attribute DOMString tagName
 
readonly attribute NamedNodeMap attributes
 
readonly attribute CSSStyleDeclaration style
 
attribute DOMString id
 
readonly attribute DOMString namespaceURI
 
readonly attribute DOMString prefix
 
readonly attribute DOMString localName
 
readonly attribute double offsetLeft
 
readonly attribute double offsetTop
 
readonly attribute double offsetWidth
 
readonly attribute double offsetHeight
 
readonly attribute double clientLeft
 
readonly attribute double clientTop
 
readonly attribute double clientWidth
 
readonly attribute double clientHeight
 
attribute long scrollLeft
 
attribute long scrollTop
 
readonly attribute long scrollWidth
 
readonly attribute long scrollHeight
 
readonly attribute Element offsetParent
 
attribute DOMString innerHTML
 
attribute DOMString outerHTML
 
attribute DOMString className
 
readonly attribute DOMTokenList classList
 
readonly attribute DOMString webkitRegionOverset
 
readonly attribute ShadowRoot shadowRoot
 
attribute DOMString slot
 
attribute EventHandler onbeforecopy
 
attribute EventHandler onbeforecut
 
attribute EventHandler onbeforeinput
 
attribute EventHandler onbeforepaste
 
attribute EventHandler oncopy
 
attribute EventHandler oncut
 
attribute EventHandler onpaste
 
attribute EventHandler onselectstart
 
attribute EventHandler onwebkitfullscreenchange
 
attribute EventHandler onwebkitfullscreenerror
 
attribute EventHandler onanimationend
 
attribute EventHandler onanimationiteration
 
attribute EventHandler onanimationstart
 
attribute EventHandler ontransitionend
 
attribute EventHandler onwebkitanimationend
 
attribute EventHandler onwebkitanimationiteration
 
attribute EventHandler onwebkitanimationstart
 
attribute EventHandler onwebkittransitionend
 
attribute EventHandler ongesturechange
 
attribute EventHandler ongestureend
 
attribute EventHandler ongesturestart
 
attribute EventHandler onfocusin
 
attribute EventHandler onfocusout
 
attribute EventHandler onbeforeload
 
attribute EventHandler onwebkitneedkey
 
attribute EventHandler onwebkitpresentationmodechanged
 
attribute EventHandler onwebkitcurrentplaybacktargetiswirelesschanged
 
attribute EventHandler onwebkitplaybacktargetavailabilitychanged
 

Member Function Documentation

◆ attachShadow()

ShadowRoot Element::attachShadow ( ShadowRootInit  init)

◆ closest()

Element Element::closest ( DOMString  selectors)

◆ getAttribute()

DOMString Element::getAttribute ( DOMString  name)

◆ getAttributeNames()

sequence<DOMString> Element::getAttributeNames ( )

◆ getAttributeNode()

Attr Element::getAttributeNode ( DOMString  name)

◆ getAttributeNodeNS()

Attr Element::getAttributeNodeNS ( DOMString?  namespaceURI,
DOMString  localName 
)

◆ getAttributeNS()

DOMString Element::getAttributeNS ( DOMString?  namespaceURI,
DOMString  localName 
)

◆ getBoundingClientRect()

ClientRect Element::getBoundingClientRect ( )

◆ getClientRects()

ClientRectList Element::getClientRects ( )

◆ getElementsByClassName()

HTMLCollection Element::getElementsByClassName ( DOMString  name)

◆ getElementsByTagName()

HTMLCollection Element::getElementsByTagName ( DOMString  name)

◆ getElementsByTagNameNS()

HTMLCollection Element::getElementsByTagNameNS ( DOMString?  namespaceURI,
DOMString  localName 
)

◆ hasAttribute()

boolean Element::hasAttribute ( DOMString  name)

◆ hasAttributeNS()

boolean Element::hasAttributeNS ( DOMString?  namespaceURI,
DOMString  localName 
)

◆ hasAttributes()

boolean Element::hasAttributes ( )

◆ insertAdjacentElement()

Element Element::insertAdjacentElement ( DOMString  where,
Element  element 
)

◆ insertAdjacentHTML()

void Element::insertAdjacentHTML ( DOMString  where,
DOMString  html 
)

◆ insertAdjacentText()

void Element::insertAdjacentText ( DOMString  where,
DOMString  text 
)

◆ matches()

boolean Element::matches ( DOMString  selectors)

◆ removeAttribute()

void Element::removeAttribute ( DOMString  name)

◆ removeAttributeNode()

Attr Element::removeAttributeNode ( Attr  oldAttr)

◆ removeAttributeNS()

void Element::removeAttributeNS ( DOMString?  namespaceURI,
DOMString  localName 
)

◆ requestPointerLock()

void Element::requestPointerLock ( )

◆ scroll() [1/2]

void Element::scroll ( optional ScrollToOptions  options)

◆ scroll() [2/2]

void Element::scroll ( unrestricted double  x,
unrestricted double  y 
)

◆ scrollBy() [1/2]

void Element::scrollBy ( optional ScrollToOptions  option)

◆ scrollBy() [2/2]

void Element::scrollBy ( unrestricted double  x,
unrestricted double  y 
)

◆ scrollByLines()

void Element::scrollByLines ( optional long  lines = 0)

◆ scrollByPages()

void Element::scrollByPages ( optional long  pages = 0)

◆ scrollIntoView()

void Element::scrollIntoView ( optional boolean  alignWithTop = true)

◆ scrollIntoViewIfNeeded()

void Element::scrollIntoViewIfNeeded ( optional boolean  centerIfNeeded = true)

◆ scrollTo() [1/2]

void Element::scrollTo ( optional ScrollToOptions  options)

◆ scrollTo() [2/2]

void Element::scrollTo ( unrestricted double  x,
unrestricted double  y 
)

◆ setAttribute()

void Element::setAttribute ( DOMString  name,
DOMString  value 
)

◆ setAttributeNode()

Attr Element::setAttributeNode ( Attr  newAttr)

◆ setAttributeNodeNS()

Attr Element::setAttributeNodeNS ( Attr  newAttr)

◆ setAttributeNS()

void Element::setAttributeNS ( DOMString?  namespaceURI,
DOMString  qualifiedName,
DOMString  value 
)

◆ webkitGetRegionFlowRanges()

sequence<Range> Element::webkitGetRegionFlowRanges ( )

◆ webkitMatchesSelector()

boolean Element::webkitMatchesSelector ( DOMString  selectors)

Member Data Documentation

◆ attributes

readonly attribute NamedNodeMap Element::attributes

◆ classList

readonly attribute DOMTokenList Element::classList

◆ className

attribute DOMString Element::className

◆ clientHeight

readonly attribute double Element::clientHeight

◆ clientLeft

readonly attribute double Element::clientLeft

◆ clientTop

readonly attribute double Element::clientTop

◆ clientWidth

readonly attribute double Element::clientWidth

◆ id

attribute DOMString Element::id

◆ innerHTML

attribute DOMString Element::innerHTML

◆ localName

readonly attribute DOMString Element::localName

◆ namespaceURI

readonly attribute DOMString Element::namespaceURI

◆ offsetHeight

readonly attribute double Element::offsetHeight

◆ offsetLeft

readonly attribute double Element::offsetLeft

◆ offsetParent

readonly attribute Element Element::offsetParent

◆ offsetTop

readonly attribute double Element::offsetTop

◆ offsetWidth

readonly attribute double Element::offsetWidth

◆ onanimationend

attribute EventHandler Element::onanimationend

◆ onanimationiteration

attribute EventHandler Element::onanimationiteration

◆ onanimationstart

attribute EventHandler Element::onanimationstart

◆ onbeforecopy

attribute EventHandler Element::onbeforecopy

◆ onbeforecut

attribute EventHandler Element::onbeforecut

◆ onbeforeinput

attribute EventHandler Element::onbeforeinput

◆ onbeforeload

attribute EventHandler Element::onbeforeload

◆ onbeforepaste

attribute EventHandler Element::onbeforepaste

◆ oncopy

attribute EventHandler Element::oncopy

◆ oncut

attribute EventHandler Element::oncut

◆ onfocusin

attribute EventHandler Element::onfocusin

◆ onfocusout

attribute EventHandler Element::onfocusout

◆ ongesturechange

attribute EventHandler Element::ongesturechange

◆ ongestureend

attribute EventHandler Element::ongestureend

◆ ongesturestart

attribute EventHandler Element::ongesturestart

◆ onpaste

attribute EventHandler Element::onpaste

◆ onselectstart

attribute EventHandler Element::onselectstart

◆ ontransitionend

attribute EventHandler Element::ontransitionend

◆ onwebkitanimationend

attribute EventHandler Element::onwebkitanimationend

◆ onwebkitanimationiteration

attribute EventHandler Element::onwebkitanimationiteration

◆ onwebkitanimationstart

attribute EventHandler Element::onwebkitanimationstart

◆ onwebkitcurrentplaybacktargetiswirelesschanged

attribute EventHandler Element::onwebkitcurrentplaybacktargetiswirelesschanged

◆ onwebkitfullscreenchange

attribute EventHandler Element::onwebkitfullscreenchange

◆ onwebkitfullscreenerror

attribute EventHandler Element::onwebkitfullscreenerror

◆ onwebkitneedkey

attribute EventHandler Element::onwebkitneedkey

◆ onwebkitplaybacktargetavailabilitychanged

attribute EventHandler Element::onwebkitplaybacktargetavailabilitychanged

◆ onwebkitpresentationmodechanged

attribute EventHandler Element::onwebkitpresentationmodechanged

◆ onwebkittransitionend

attribute EventHandler Element::onwebkittransitionend

◆ outerHTML

attribute DOMString Element::outerHTML

◆ prefix

readonly attribute DOMString Element::prefix

◆ scrollHeight

readonly attribute long Element::scrollHeight

◆ scrollLeft

attribute long Element::scrollLeft

◆ scrollTop

attribute long Element::scrollTop

◆ scrollWidth

readonly attribute long Element::scrollWidth

◆ shadowRoot

readonly attribute ShadowRoot Element::shadowRoot

◆ slot

attribute DOMString Element::slot

◆ style

◆ tagName

readonly attribute DOMString Element::tagName

◆ webkitRegionOverset

readonly attribute DOMString Element::webkitRegionOverset

The documentation for this interface was generated from the following file: