source: Farmatiko/ClientApp/src/app/nav-menu/nav-menu.component.ts@ 68454c6

Last change on this file since 68454c6 was 30a465f, checked in by DimitarSlezenkovski <dslezenkovski@…>, 4 years ago

Initial commit

  • Property mode set to 100644
File size: 337 bytes
Line 
1import { Component } from '@angular/core';
2
3@Component({
4 selector: 'app-nav-menu',
5 templateUrl: './nav-menu.component.html',
6 styleUrls: ['./nav-menu.component.css']
7})
8export class NavMenuComponent {
9 isExpanded = false;
10
11 collapse() {
12 this.isExpanded = false;
13 }
14
15 toggle() {
16 this.isExpanded = !this.isExpanded;
17 }
18}
Note: See TracBrowser for help on using the repository browser.