Version 0.10.0
Released on with 9 commits
Compatible changes
- Viewport scroll positions are saved when the URL changes and restored when the user hits the back/forward button
- Allow to link to the previous page using
[up-back] - Allow to restore previous scroll state using
[up-restore-scroll] - Instead of saying
<tag up-something="true">you can now simply say<tag up-something>. - Create this Changelog.
Breaking changes
- ⚠️ The option
options.scrolland attributeup-scrollhave been removed. Instead you can use the boolean optionoptions.revealorup-revealto indicate whether an element should be revealed within the viewport before replacement. - ⚠️ The string
up.history.defaults('popTarget')is now an array of selectorsup.history.defaults('popTargets')