blob: 2d3557cb13db80407b8ad82cbed3ba154aeeeb4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { Component, OnInit, ViewEncapsulation } from '@angular/core';
@Component({
selector: 'app-designer',
templateUrl: './designer.component.html',
styleUrls: ['./designer.component.css'],
encapsulation: ViewEncapsulation.None
})
export class DesignerComponent implements OnInit {
private controllerSideBar: boolean;
private attributesSideBar: boolean;
constructor() {
this.controllerSideBar = true;
this.attributesSideBar = false;
}
private _toggleSidebar1() {
this.controllerSideBar = !this.controllerSideBar;
}
private _toggleSidebar2() {
this.attributesSideBar = !this.attributesSideBar;
}
ngOnInit() {
}
}
|