mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* 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
14 lines
523 B
HTML
14 lines
523 B
HTML
<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>
|