Element class
is the most general base class from which all element objects
(i.e. objects that represent elements) in a Document inherit.
It only has methods and properties common to all kinds of
elements. More specific classes inherit from .
For example, the HTMLElement interface is the base interface
for HTML elements, while the SVGElement interface is the basis
for all SVG elements. Most functionality is specified further
down the class hierarchy.
Languages outside the realm of the Web platform, like XUL
through the XULElement
interface, also implement .
EventTarget
Node
Element
- Implemented types
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- Element()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited