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.

Value

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