Skip to content

Releases: pzuraq/liquid-tether

v2.0.0-beta.2

24 Sep 04:33
Compare
Choose a tag to compare
v2.0.0-beta.2 Pre-release
Pre-release

See the new documentation for new features and deprecations

v2.0.0-beta.1

22 Sep 04:00
Compare
Choose a tag to compare
v2.0.0-beta.1 Pre-release
Pre-release

Liquid Tether v2

Breaking Changes:

  • The to property is no longer required when using liquid-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 the stack 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:
{{liquid-tether class="modal"}}
this.transition(
  this.hasClass('modal')
);
  • The onOpenTether and onCloseTether helpers are no longer necessary. When a wormhole is transitioning to an empty state, the toValue will be null. You can do something like this to replace onOpenTether:
this.transition(
  this.toValue(true)
);
  • Because the toValue and fromValue may now be null, you may have to guard your matching statements.