MDN self-hosted library · e01.org

SVGLengthList: length property

SVG

no runnable cells web-api-instance-property upstream source

SVG

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

Browser compatibility