Files
fuse-angular/src/app/modules/admin/docs/other-components/common/notifications/notifications.component.ts

30 lines
830 B
TypeScript

import { Component } from '@angular/core';
import { OtherComponentsComponent } from 'app/modules/admin/docs/other-components/other-components.component';
@Component({
selector : 'notifications',
templateUrl: './notifications.component.html',
})
export class NotificationsComponent
{
/**
* Constructor
*/
constructor(private _otherComponentsComponent: OtherComponentsComponent)
{
}
// -----------------------------------------------------------------------------------------------------
// @ Public methods
// -----------------------------------------------------------------------------------------------------
/**
* Toggle the drawer
*/
toggleDrawer(): void
{
// Toggle the drawer
this._otherComponentsComponent.matDrawer.toggle();
}
}