mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-2559] Sidenav layout (#3119)
* First step of extraction * Add sidenav-layout to demo-shell * Fix some sidenav-layout styles * Fix tests * Add documentation * Fix typescript transpiler's stomache * Modify component's directive's interface * Enrich documentation * Another documentation enrichment * Fix tests and mobile expanded issue
This commit is contained in:
committed by
Eugenio Romano
parent
9e2969b955
commit
0aba5bb1b5
@@ -0,0 +1,13 @@
|
||||
<mat-sidenav-container>
|
||||
<mat-sidenav
|
||||
[ngClass]="{ 'sidenav--hidden': hideSidenav }"
|
||||
[@sidenavAnimation]="sidenavAnimationState"
|
||||
[opened]="!isMobileScreenSize"
|
||||
[mode]="isMobileScreenSize ? 'over' : 'side'">
|
||||
<ng-content sidenav select="[app-layout-navigation]"></ng-content>
|
||||
</mat-sidenav>
|
||||
|
||||
<mat-sidenav-content [@contentAnimation]="contentAnimationState">
|
||||
<ng-content select="[app-layout-content]"></ng-content>
|
||||
</mat-sidenav-content>
|
||||
</mat-sidenav-container>
|
Reference in New Issue
Block a user