The Dom\HTMLCollection class
Guide
Edit on GitHub ✎
Represents a static set of elements. It is similar to Dom\NodeList, but restricted to Dom\Element nodes.
Intro
Represents a static set of elements. It is similar to Dom\NodeList, but restricted to Dom\Element nodes.
Class synopsis
class Dom\HTMLCollection implements IteratorAggregate implements Countable { }
Properties
lengthThe number of elements.
Changelog
| Version | Description |
|---|---|
| 8.5.0 | Cloning a Dom\HTMLCollection object now fails. |