Adding models and components
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
import {Component, OnInit} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-header',
|
||||
templateUrl: './header.component.html',
|
||||
styleUrls: ['./header.component.scss']
|
||||
})
|
||||
export class HeaderComponent implements OnInit {
|
||||
|
||||
showProfilePopover: boolean = false;
|
||||
|
||||
constructor() {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
openProfile(): void {
|
||||
console.log('Called');
|
||||
this.showProfilePopover = !this.showProfilePopover;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user