Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import Ember from 'ember';
- let duration = 400;
- export default Ember.Controller.extend({
- appName: 'Ember Twiddle',
- animationRules: animationRules
- });
- function animationRules() {
- this.transition(
- this.toValue(true),
- this.useAndReverse('fade', { duration })
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement