@engie-group/fluid-design-system-angular
Version:
Fluid Design System Angular
7 lines (6 loc) • 411 B
HTML
<div [@panelOpened]="{value: !isOverContent && _isPanelDisplayed, params: _animationParams}" class="nj-sidepanel-layout__content">
<ng-content></ng-content>
</div>
<div [@panelSlideInAndOut]="{value: '*', params: _animationParams}" *ngIf="_isPanelDisplayed && panel.templateRef" class="nj-sidepanel-layout__sidepanel">
<ng-container [ngTemplateOutlet]="panel.templateRef"></ng-container>
</div>