Revision code
Changes
Version 0.9.0
Compatible changes
- Elements are now being revealed within their viewport before they are updated
- Elements that are prepended or appended using
:before or :after pseudo-selectors are now scrolled into view after insertion.
- New option
up.layout.defaults('snap') lets you define a number of pixels under which Unpoly will snap to the top edge of the viewport when revealing an element
- You can now make
up.reveal() aware of fixed navigation bars blocking the viewport by setting new options up.layout.defaults('fixedTop') and up.layout.defaults('fixedBottom').