SVGLengthList: length property

The length property of the SVGLengthList interface returns the number of items in the list. It is an alias of numberOfItems to make SVG lists more array-like.

Value

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

Examples

See SVGLengthList for a complete example.

Specifications