Files
fuse-angular/src/app/modules/admin/docs/guides/customization/theming/theming.ts

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();
}
}