Instantly share code, notes, and snippets.

Embed
What would you like to do?
import Ember from 'ember';
export default Ember.Component.extend({
// classNameBindings: ['is-visible'],
// classNames: ['is-visible'],
// isEnabled: false,
actions: {
close: function() {
this.$('.cd-panel').removeClass('is-visible');
// return this.sendAction('close');
}
},
becomeVisible: function() {
this.$('.cd-panel').addClass('is-visible');
}.on('didRender')
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment