Back to Content

SVGStringList: numberOfItems property

files/en-us/web/api/svgstringlist/numberofitems/index.md

latest363 B
Original Source

{{APIRef("SVG")}}

The numberOfItems property of the {{domxref("SVGStringList")}} interface returns the number of items in the list. {{domxref("SVGStringList.length", "length")}} is an alias of it.

Value

A non-negative integer that represents the number of items in the list.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}