firstElementChild property
Element?
get
firstElementChild
inherited
The Element.firstElementChild
read-only property
returns an element's first child Element
, or null
if there
are no child elements.
Element.firstElementChild
includes only element nodes.
To get all child nodes, including non-element nodes like text and comment
nodes, use Node.firstChild
.
Implementation
external Element? get firstElementChild;