mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-15 22:15:30 +01:00
feat(aot): aot compilation work in progress
This commit is contained in:
parent
24fe588b42
commit
d89d176e54
117 changed files with 866 additions and 1041 deletions
|
|
@ -2,18 +2,17 @@ import {Component, ElementRef, HostListener, ViewEncapsulation} from '@angular/c
|
|||
import {GlobalState} from '../../../global.state';
|
||||
import {layoutSizes} from '../../../theme';
|
||||
|
||||
import 'style!./baSidebar.scss';
|
||||
|
||||
@Component({
|
||||
selector: 'ba-sidebar',
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
styles: [require('./baSidebar.scss')],
|
||||
template: require('./baSidebar.html')
|
||||
templateUrl: './baSidebar.html'
|
||||
})
|
||||
export class BaSidebar {
|
||||
public menuHeight:number;
|
||||
public isMenuCollapsed:boolean = false;
|
||||
public isMenuShouldCollapsed:boolean = false;
|
||||
|
||||
|
||||
constructor(private _elementRef:ElementRef, private _state:GlobalState) {
|
||||
|
||||
this._state.subscribe('menu.isCollapsed', (isCollapsed) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue