Edit this page

up.layer up.layer.front
JavaScript property

Returns the frontmost layer in the layer stack.

The frontmost layer is the layer directly facing the user. If an overlay is stacked on top of the frontmost layer, that overlay becomes the new frontmost layer.

In most cases you don't want to refer to the frontmost layer, but to the current layer instead.


front up.Layer