The Element
interface represents an object of a Document
. This interface describes methods and properties common to all kinds of elements. Specific behaviors are described in interfaces which inherit from Element
but add additional functionality.
Documentation Element by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Variables
Methods
convertPointFromNode (point:DOMPointInit, from:EitherType<Text, EitherType<Element, HTMLDocument>>, ?options:ConvertCoordinateOptions):DOMPoint
Throws:
null | DOMError |
---|
convertQuadFromNode (quad:DOMQuad, from:EitherType<Text, EitherType<Element, HTMLDocument>>, ?options:ConvertCoordinateOptions):DOMQuad
Throws:
null | DOMError |
---|
convertRectFromNode (rect:DOMRectReadOnly, from:EitherType<Text, EitherType<Element, HTMLDocument>>, ?options:ConvertCoordinateOptions):DOMQuad
Throws:
null | DOMError |
---|
getAnimations ():Array<Animation>
Returns an array of Animation objects currently active on the element.