César Calvo
2017-03-14 94eaa7304db2691a614f98162d6e34b946a76b94
securis/src/main/webapp/src/app/home.component.ts
....@@ -19,7 +19,7 @@
1919 })
2020 export class HomeComponent implements AfterViewInit {
2121
22
- @ViewChild('varName') child: TdNavigationDrawerComponent;
22
+ @ViewChild('mainMenu') mainMenu: TdNavigationDrawerComponent;
2323
2424 securisVersion : string;
2525 showMenu : boolean = false;
....@@ -56,8 +56,8 @@
5656 }
5757
5858
59
- public clicked() {
60
- //this.child.open();
59
+ public closeMenu() {
60
+ this.mainMenu.close();
6161 }
6262
6363 ngAfterViewInit(): void {