Edit this page

up.browser up.Layer.prototype.isClosed()
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 no longer 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 has been closed.

boolean