6f084171dd
The initial new codebase from a template
23 lines
554 B
TypeScript
23 lines
554 B
TypeScript
import { Component, OnInit } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'app-dashboard',
|
|
templateUrl: './full-layout.component.html'
|
|
})
|
|
export class FullLayoutComponent implements OnInit {
|
|
|
|
public disabled = false;
|
|
public status: {isopen: boolean} = {isopen: false};
|
|
|
|
public toggled(open: boolean): void {
|
|
console.log('Dropdown is now: ', open);
|
|
}
|
|
|
|
public toggleDropdown($event: MouseEvent): void {
|
|
$event.preventDefault();
|
|
$event.stopPropagation();
|
|
this.status.isopen = !this.status.isopen;
|
|
}
|
|
|
|
ngOnInit(): void {}
|
|
}
|