Edit this page

up.layer a[up-close]
HTML selector

This feature has been deprecated. Use a[up-dismiss] instead.

Load unpoly-migrate.js to polyfill deprecated features.

When this element is clicked, closes a currently open overlay.

Does nothing if no overlay is currently open.

To make a link that closes the current overlay, but follows to a fallback destination on the root layer:

<a href="/fallback" up-close>Okay</a>