[up-back]
[up-restore-scroll]
<tag up-something="true">
you can now simply say <tag up-something>
.options.scroll
and attribute up-scroll
have been removed. Instead you can use the
boolean option options.reveal
or up-reveal
to indicate whether an element should be revealed
within the viewport before replacement.up.history.defaults('popTarget')
is now an array of selectors up.history.defaults('popTargets')
If you're upgrading from an older Unpoly version you should load unpoly-migrate.js
to polyfill deprecated APIs.
Changes handled by unpoly-migrate.js
are not considered breaking changes.
See our upgrading guide for details.