Edit this page

up.layer up:layer:accepted
DOM event

This event is emitted after a layer was accepted.

The event is emitted on the layer's when the close animation is starting. If the layer has no close animaton and was already removed from the DOM, the event is emitted a second time on the document.


event.layer up.Layer

The layer that was closed.

[event.value] Element optional

The overlay's final acceptance value.

[event.origin] Element optional

The element that has caused the layer to close.

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