2018-09-25 16:28:26 +00:00
|
|
|
import Component from '@ember/component';
|
2018-04-03 14:16:57 +00:00
|
|
|
|
2018-09-25 16:28:26 +00:00
|
|
|
export default Component.extend({
|
2018-04-03 14:16:57 +00:00
|
|
|
classNames: ['column', 'is-sidebar'],
|
|
|
|
classNameBindings: ['isActive:is-active'],
|
|
|
|
isActive: false,
|
|
|
|
actions: {
|
|
|
|
openMenu() {
|
|
|
|
this.set('isActive', true);
|
|
|
|
},
|
|
|
|
closeMenu() {
|
|
|
|
this.set('isActive', false);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|