Advertisement
Guest User

Untitled

a guest
Jan 17th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. import Ember from 'ember';
  2.  
  3.  
  4. let duration = 400;
  5.  
  6. export default Ember.Controller.extend({
  7. appName: 'Ember Twiddle',
  8. animationRules: animationRules
  9.  
  10. });
  11.  
  12.  
  13. function animationRules() {
  14. this.transition(
  15. this.toValue(true),
  16. this.useAndReverse('fade', { duration })
  17. );
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement