Edit this page

up.layer up.layer.count
JavaScript property

Returns the number of layers in the layer stack.

The count includes the root layer. Hence a page with a single overlay would return a count of 2.


count number

The number of layers in the stack.

This website uses cookies to improve usability and analyze traffic.
I accept or learn more