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'; | |
export default Ember.Component.extend({ | |
didRender() { | |
Ember.run.next(() => this.get('element').classList.add('animate')) | |
} | |
}); |
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'; | |
export default Ember.Component.extend({ | |
didRender() { | |
Ember.run.next(() => this.get('element').classList.add('animate')) | |
} | |
}); |
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'; | |
// this is a bit of a weird construction, but it prevents duplicating the default | |
// values in the controller and the route. It'd probably be possible to make a helper | |
// here to make it a bit less weird. Or if default values are always null, this isn't necessary | |
const ApplicationController = Ember.Controller.extend({ | |
queryParams: ['statusId', 'caseId'] | |
}); |