42300b4087
* move console/ui-panel into nav-header component * notch-specific CSS * add layout test in the application for the console
18 lines
435 B
JavaScript
18 lines
435 B
JavaScript
import Component from '@ember/component';
|
|
|
|
export default Component.extend({
|
|
'data-test-navheader': true,
|
|
classNameBindings: 'consoleFullscreen:panel-fullscreen',
|
|
tagName: 'header',
|
|
navDrawerOpen: false,
|
|
consoleFullscreen: false,
|
|
actions: {
|
|
toggleNavDrawer(isOpen) {
|
|
if (isOpen !== undefined) {
|
|
return this.set('navDrawerOpen', isOpen);
|
|
}
|
|
this.toggleProperty('navDrawerOpen');
|
|
},
|
|
},
|
|
});
|