You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// You can also provide an implementation instead of a name, though// it's probably better to keep implementations in separate files. We// talk more about transition implementations in the next section.import{animate,stop}from"liquid-fire";this.transition(this.withinRoute('foo'),this.use(function(oldView,insertNewView,opts){stop(oldView);returnanimate(oldView,{opacity: 0},opts).then(insertNewView).then(function(newView){returnanimate(newView,{opacity: [1,0]},opts);});}));
If this is correct I can submit a PR
The text was updated successfully, but these errors were encountered:
Believe the docs has an example showing an older API for writing custom transitions:
https://ember-animation.github.io/liquid-fire/transition-map/choosing-transitions
If this is correct I can submit a PR
The text was updated successfully, but these errors were encountered: