This repository has been archived on 2023-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
FoodLoop-Web/src/app/layouts/full-layout.component.ts
piratefinn 6f084171dd Initial CoreUI commit
The initial new codebase from a template
2017-04-27 15:29:31 +01:00

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 {}
}