mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* single contentAnimation state * fine tune contentAnimation state based on direction and position * tets * fix mock component inputs * use native direction attribute * update docs * pass direction to calculate sidenav layout * update test * fix unit test * remove dialogs directionality workaround * set document directionality service * remove context menu direction workaround * remove unneeded dependencies * remove direction style workaround * remove permission icon direction * remove sidenav layout direction attribute * update docs * update sidenav layout direction * test * remove document type * update test dependencies * clear storage before test * test * fix dl gap * try to fix Uncaught QuotaExceededError * fix QuotaExceededError * fix tests * fix tests
18 lines
645 B
HTML
18 lines
645 B
HTML
<mat-sidenav-container>
|
|
<mat-sidenav
|
|
[position]="position"
|
|
[disableClose]="!isMobileScreenSize"
|
|
[ngClass]="{ 'adf-sidenav--hidden': hideSidenav }"
|
|
[@sidenavAnimation]="sidenavAnimationState"
|
|
[opened]="!isMobileScreenSize"
|
|
[mode]="isMobileScreenSize ? 'over' : 'side'">
|
|
<ng-content sidenav select="[app-layout-navigation]"></ng-content>
|
|
</mat-sidenav>
|
|
|
|
<div>
|
|
<div class="adf-container-full-width" [@contentAnimationLeft]="getContentAnimationState()">
|
|
<ng-content select="[app-layout-content]"></ng-content>
|
|
</div>
|
|
</div>
|
|
</mat-sidenav-container>
|