Edit this page

up.browser up.Layer.prototype.isOpen()
JavaScript function

This feature has been deprecated. Use up.Layer#isAlive() instead.

Load unpoly-migrate.js to polyfill deprecated features.

Returns whether this layer is still part of the layer stack.

A layer is considered "closed" immediately after it has been dismissed or accepted. If the closing is animated, a layer may be considered "closed" while closing animation is still playing.


Return value

Whether this layer is still open.

boolean