mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2026-03-17 03:38:41 +00:00
30 lines
830 B
TypeScript
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();
|
|
}
|
|
}
|