Skip to content

v2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@pzuraq pzuraq released this 22 Sep 04:00
· 28 commits to master since this 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.