Revision code
Changes
Version 0.2.0
Changes
- Add a MIT License.
- Compiled JS and CSS is now pushed to the repository as
dist/up.css and dist/up.js. This way clients no longer need to compile Unpoly themselves.
-
up.destroy() now restores URL and title before emitting up:fragment:destroy.
- Modal dialogs now grow to the content size by default.
- Overlays now support
[ width } and { height } options.
- Overlays now restore the previous url and title when closed.
- Fix modal rendering issue in chrome.
- Simplify modal template HTML structure.
- New overlay option
{ closeLabel }.
- The transition
move-top has been renamed to move-up.
- The transition
move-bottom has been renamed to move-down.
- Support prepending fragments with
:before.
- Support appending fragments with
:after.
- New attribute
[up-marker] to define a slot for later targeting. It is hidden visually while it is empty.
- Prefer to place fragments in overlays if the same target exists in the background.
- Popups are now positioned in a way that they are always within the viewport.
-
up.animate() now accepts a hash of CSS properties.
- Fix inconsistent animation handling.
- Support custom tooltips with
[up-tooltip].
- Animations and transitions now support a
{ delay } option.
- Add an
[up-close] attribute for buttons that should close an enclosing popup.