import { Component , EventEmitter , OnInit , Output , ViewEncapsulation } from '@angular/core' ; @ Component ( { selector : 'app-navbar' , templateUrl : './navbar.component.html' , styleUrls : [ './navbar.component.scss' ] , encapsulation : ViewEncapsulation . None , } ) export class NavbarComponent implements OnInit { @ Output ( ) toggleSidenav = new EventEmitter < void > ( ) ; constructor ( ) { } ngOnInit ( ) { } }