import { Injectable } from '@angular/core' ; import { MatSidenav } from '@angular/material/sidenav' ; @ Injectable ( { providedIn : 'root' } ) export class FuseMatSidenavHelperService { sidenavInstances : MatSidenav [ ] ; /**
     * Constructor
     */ constructor ( ) { this . sidenavInstances = [ ] ; } param id param instance setSidenav ( id , instance ) { this . sidenavInstances [ id ] = instance ; } param id returns { any } getSidenav ( id ) { return this . sidenavInstances [ id ] ; } }