Skip to content

Instantly share code, notes, and snippets.

View gojefferson's full-sized avatar
🎯
Focusing

Jeff Kerr gojefferson

🎯
Focusing
View GitHub Profile
import Ember from 'ember';
export default Ember.Component.extend({
didRender() {
Ember.run.next(() => this.get('element').classList.add('animate'))
}
});
import Ember from 'ember';
export default Ember.Component.extend({
didRender() {
Ember.run.next(() => this.get('element').classList.add('animate'))
}
});
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']
});