View components.animate-transition.js
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didRender() { | |
Ember.run.next(() => this.get('element').classList.add('animate')) | |
} | |
}); |
View components.animate-transition.js
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
didRender() { | |
Ember.run.next(() => this.get('element').classList.add('animate')) | |
} | |
}); |
View controllers.application.js
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'] | |
}); |