children property

HTMLCollection get children

The read-only children property returns a live HTMLCollection which contains all of the child Element of the element upon which it was called.

Element.children includes only element nodes. To get all child nodes, including non-element nodes like text and comment nodes, use Node.childNodes.

Implementation

external HTMLCollection get children;