2018-09-25 16:28:26 +00:00
|
|
|
import Component from '@ember/component';
|
2018-06-26 21:35:47 +00:00
|
|
|
|
2018-09-25 16:28:26 +00:00
|
|
|
export default Component.extend({
|
2018-06-26 21:35:47 +00:00
|
|
|
'data-test-navheader': true,
|
|
|
|
tagName: 'header',
|
2018-10-21 19:19:34 +00:00
|
|
|
navDrawerOpen: false,
|
|
|
|
actions: {
|
|
|
|
toggleNavDrawer(isOpen) {
|
|
|
|
if (isOpen !== undefined) {
|
|
|
|
return this.set('navDrawerOpen', isOpen);
|
|
|
|
}
|
|
|
|
this.toggleProperty('navDrawerOpen');
|
|
|
|
},
|
|
|
|
},
|
2018-06-26 21:35:47 +00:00
|
|
|
});
|