mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-12-23 00:17:06 +00:00
30 lines
745 B
TypeScript
30 lines
745 B
TypeScript
import { Component } from '@angular/core';
|
|
import { GuidesComponent } from 'app/modules/admin/docs/guides/guides.component';
|
|
|
|
@Component({
|
|
selector : 'theming',
|
|
templateUrl: './theming.html'
|
|
})
|
|
export class ThemingComponent
|
|
{
|
|
/**
|
|
* Constructor
|
|
*/
|
|
constructor(private _guidesComponent: GuidesComponent)
|
|
{
|
|
}
|
|
|
|
// -----------------------------------------------------------------------------------------------------
|
|
// @ Public methods
|
|
// -----------------------------------------------------------------------------------------------------
|
|
|
|
/**
|
|
* Toggle the drawer
|
|
*/
|
|
toggleDrawer(): void
|
|
{
|
|
// Toggle the drawer
|
|
this._guidesComponent.matDrawer.toggle();
|
|
}
|
|
}
|