Releases: pzuraq/liquid-tether
Releases · pzuraq/liquid-tether
v2.0.0-beta.2
See the new documentation for new features and deprecations
v2.0.0-beta.1
Liquid Tether v2
Breaking Changes:
- The
to
property is no longer required when usingliquid-tether
. By default, new wormholes will now always show and not replace each other. If you want to have the old replacement logic, you can use thestack
property to specify which stack the tethers belong to, and which they should replace. - Using
tether
for transitions is no longer necessary. You can use standard liquid-fire transitions as if you were animating any other element. - The
target
helper is no longer necessary. You can use standard liquid-fire matchers instead:
this.transition(
this.hasClass('modal')
);
- The
onOpenTether
andonCloseTether
helpers are no longer necessary. When a wormhole is transitioning to an empty state, thetoValue
will be null. You can do something like this to replaceonOpenTether
:
this.transition(
this.toValue(true)
);
- Because the
toValue
andfromValue
may now be null, you may have to guard your matching statements.