Skip to content

Instantly share code, notes, and snippets.

@ef4
Created July 17, 2015 03:21
Show Gist options
  • Select an option

  • Save ef4/c8718ca3bb813190cc24 to your computer and use it in GitHub Desktop.

Select an option

Save ef4/c8718ca3bb813190cc24 to your computer and use it in GitHub Desktop.
this.transition(
this.use('with-hook', 'fade', { duration: 250 });
);
import getRealChildView from '../utils/liquid-fire-view-finder';
export default function defaultTransition(delegateTo, ...args) {
return this.lookup(delegateTo).apply(this, args).then(() => {
if (this.newView) {
var view = getRealChildView(this.newView);
if (view && view.didAnimateTransition) {
view.didAnimateTransition();
}
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment