Skip to content

v2.0.0-beta.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@pzuraq pzuraq released this 20 Sep 19:48
· 101 commits to master since this release

Liquid Wormhole v2

Breaking Changes:

  • The to property is no longer required when using liquid-wormhole. 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 wormholes belong to, and which they should replace.
  • Using explode 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-wormhole class="modal"}}
this.transition(
  this.hasClass('modal')
);
  • The onOpenWormhole and onCloseWormhole 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 onOpenWormhole:
this.transition(
  this.toValue(true)
);
  • Because the toValue and fromValue may now be null, you may have to guard your matching statements.