core/bottom-drawer/bottom-drawer.component.ts
Bottom drawer component that slides up from the bottom of the viewport. Typically managed by BottomDrawerService.
| changeDetection | ChangeDetectionStrategy.Eager |
| selector | c8y-bottom-drawer |
| standalone | true |
| imports |
CdkTrapFocus
|
| templateUrl | ./bottom-drawer.component.html |
No results matching.
CommonModule
CdkTrapFocus
DrawerHost
<div [ngClass]="{ drawerOpen: drawerOpen$ | async }">
<div
class="bottom-drawer"
[cdkTrapFocus]="drawerOpen$ | async"
role="dialog"
aria-modal="true"
aria-labelledby="drawerTitle"
[ngClass]="{ 'has-backdrop': disableClickOutside }"
>
<div class="d-flex d-col no-align-items fit-h">
<ng-template #drawerHost></ng-template>
</div>
</div>
</div>