src/app/shared/topbar/topbar.component.ts
changeDetection | ChangeDetectionStrategy.OnPush |
selector | app-topbar |
styleUrls | ./topbar.component.scss |
templateUrl | ./topbar.component.html |
Methods |
constructor()
|
Defined in src/app/shared/topbar/topbar.component.ts:9
|
ngOnInit |
ngOnInit()
|
Defined in src/app/shared/topbar/topbar.component.ts:12
|
Returns :
void
|
import { ChangeDetectionStrategy, Component, OnInit } from '@angular/core';
@Component({
selector: 'app-topbar',
templateUrl: './topbar.component.html',
styleUrls: ['./topbar.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class TopbarComponent implements OnInit {
constructor() {}
ngOnInit(): void {}
}
<!-- Topbar Start -->
<nav class="navbar navbar-expand-lg navbar-light bg-light sticky-top">
<div class="container-fluid">
<button
type="button"
id="sidebarCollapse"
class="navbar-btn menutoggle"
aria-label="Sidebar toggle"
appMenuToggle
>
<span></span>
<span></span>
<span></span>
</button>
</div>
</nav>
<!-- end Topbar -->
./topbar.component.scss