Back to Content

SVGStringList: length property

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

latest484 B
Original Source

{{APIRef("SVG")}}

The length property of the {{domxref("SVGStringList")}} interface returns the number of items in the list. It is an alias of {{domxref("SVGStringList.numberOfItems", "numberOfItems")}} to make SVG lists more array-like.

Value

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

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}