projects/ui-kit-lib/src/lib/v2/bottom-sheet/bottom-sheet-container.ts
Internal component that wraps user-provided bottom sheet content.
CdkDialogContainer
| changeDetection | ChangeDetectionStrategy.Eager |
| encapsulation | ViewEncapsulation.None |
| host | { |
| selector | md-bottom-sheet-container |
| imports |
CdkPortalOutlet
|
| templateUrl | bottom-sheet-container.html |
| styleUrl | bottom-sheet-container.scss |
Properties |
Methods |
|
constructor()
|
| Protected _handleAnimationEvent | ||||||||||||
_handleAnimationEvent(isStart: boolean, animationName: string, target: EventTarget | null)
|
||||||||||||
|
Parameters :
Returns :
void
|
| Protected _trapFocus |
_trapFocus()
|
|
Returns :
void
|
| enter |
enter()
|
|
Begin animation of bottom sheet entrance into view.
Returns :
void
|
| exit |
exit()
|
|
Begin animation of the bottom sheet exiting from view.
Returns :
void
|
| Protected _animationsDisabled |
Type : unknown
|
Default value : inject(ANIMATION_MODULE_TYPE, {optional: true}) === 'NoopAnimations'
|
| _animationState |
Type : "void" | "visible" | "hidden"
|
Default value : 'void'
|
|
The state of the bottom sheet animations. |
| _animationStateChanged |
Type : unknown
|
Default value : new EventEmitter<{
toState: 'visible' | 'hidden';
phase: 'start' | 'done';
}>()
|
|
Emits whenever the state of the animation changes. |