Back to Content

SVGNumberList: numberOfItems property

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

latest363 B
Original Source

{{APIRef("SVG")}}

The numberOfItems property of the {{domxref("SVGNumberList")}} interface returns the number of items in the list. {{domxref("SVGNumberList.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}}