Created
January 13, 2017 23:02
-
-
Save iezer/11455ec943c381774636827e9d774d56 to your computer and use it in GitHub Desktop.
Ember Elsewhere Application Controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
let duration = 400; | |
export default Ember.Controller.extend({ | |
animationRules | |
}); | |
function animationRules() { | |
this.transition( | |
this.toValue(true), | |
this.useAndReverse('fade', { duration }) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment