@angular/material/sidenav#MatDrawer TypeScript Examples

The following examples show how to use @angular/material/sidenav#MatDrawer. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: get-addons.component.ts    From WowUp with GNU General Public License v3.0 5 votes vote down vote up
@ViewChild("drawer") public drawer!: MatDrawer;
Example #2
Source File: layout.component.ts    From nghacks with MIT License 5 votes vote down vote up
@ViewChild('sidenavDrawer') sidenavDrawer: MatDrawer;
Example #3
Source File: layout.service.ts    From nghacks with MIT License 5 votes vote down vote up
initLayoutService(sidenavDrawer: MatDrawer): void {
    if (this._hasLayoutServiceInit) {
      throw new Error('LayoutService already initialized. Please import it only once from LayoutComponent');
    }
    this._sidenav = sidenavDrawer;
    this._hasLayoutServiceInit = true;
  }
Example #4
Source File: layout.service.ts    From nghacks with MIT License 5 votes vote down vote up
private _sidenav: MatDrawer;
Example #5
Source File: app.component.ts    From bitcoin-s-ts with MIT License 5 votes vote down vote up
@ViewChild('rightDrawer') rightDrawer: MatDrawer
Example #6
Source File: oracle.component.ts    From bitcoin-s-ts with MIT License 5 votes vote down vote up
@ViewChild('leftDrawer') leftDrawer: MatDrawer
Example #7
Source File: oracle.component.ts    From bitcoin-s-ts with MIT License 5 votes vote down vote up
@ViewChild('rightDrawer') rightDrawer: MatDrawer
Example #8
Source File: app.component.ts    From bitcoin-s-ts with MIT License 5 votes vote down vote up
@ViewChild('rightDrawer') rightDrawer: MatDrawer
Example #9
Source File: build-accept-offer.component.ts    From bitcoin-s-ts with MIT License 5 votes vote down vote up
@ViewChild('rightDrawer') rightDrawer: MatDrawer
Example #10
Source File: contracts.component.ts    From bitcoin-s-ts with MIT License 5 votes vote down vote up
@ViewChild('rightDrawer') rightDrawer: MatDrawer
Example #11
Source File: offers.component.ts    From bitcoin-s-ts with MIT License 5 votes vote down vote up
@ViewChild('rightDrawer') rightDrawer: MatDrawer
Example #12
Source File: home.component.ts    From nuxx with GNU Affero General Public License v3.0 5 votes vote down vote up
@ViewChild('sideNav') sideNav: MatDrawer
Example #13
Source File: sidebar.component.ts    From 6PG-Dashboard with MIT License 5 votes vote down vote up
@ViewChild('drawer') drawer: MatDrawer;
Example #14
Source File: docs-sidebar.component.ts    From 6PG-Dashboard with MIT License 5 votes vote down vote up
@ViewChild('drawer') drawer: MatDrawer;