From 3ce88829796987e8229119f419f0b16cc1cdf622 Mon Sep 17 00:00:00 2001 From: Sam Baptista Date: Tue, 21 Nov 2023 18:21:34 +0100 Subject: [PATCH] Expose public sidenav api --- .../sidenav/sidenav-container/sidenav-container.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/natural/src/lib/modules/sidenav/sidenav-container/sidenav-container.component.ts b/projects/natural/src/lib/modules/sidenav/sidenav-container/sidenav-container.component.ts index 57646b4c..5a78b748 100644 --- a/projects/natural/src/lib/modules/sidenav/sidenav-container/sidenav-container.component.ts +++ b/projects/natural/src/lib/modules/sidenav/sidenav-container/sidenav-container.component.ts @@ -47,7 +47,7 @@ export class NaturalSidenavContainerComponent implements OnInit, OnDestroy { /** * Inner "native" material sidenav */ - @ViewChild(MatSidenav, {static: true}) private menuSidenav!: MatSidenav; + @ViewChild(MatSidenav, {static: true}) public menuSidenav!: MatSidenav; public constructor(public readonly sidenavService: NaturalSidenavService) {}