Revision code
Changes
Changes in 0.10.0
Released on
September 15, 2015
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.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.
- The string
up.history.defaults('popTarget')
is now an array of selectors up.history.defaults('popTargets')