I am using nebular sidebar component, what i'm trying to do is animating the opening and the closing of the sidebar. I checked the sidebar API but i didn't find anything that can do that ? I tried to apply css transition on the class but it didn't work, so how can i approach this ?
<nb-layout>
<nb-layout-header subheader>
<app-navbar style="width: 100%"></app-navbar>
</nb-layout-header>
<nb-sidebar [state]="'compacted'">
<app-sidenav-menu></app-sidenav-menu>
</nb-sidebar>
<nb-layout-column>
<router-outlet></router-outlet>
</nb-layout-column>
</nb-layout>