File

projects/ui-kit-lib/src/lib/v2/bottom-sheet/bottom-sheet-container.ts

Description

Internal component that wraps user-provided bottom sheet content.

Extends

CdkDialogContainer

Implements

OnDestroy

Metadata

Index

Properties
Methods

Constructor

constructor()

Methods

Protected _handleAnimationEvent
_handleAnimationEvent(isStart: boolean, animationName: string, target: EventTarget | null)
Parameters :
Name Type Optional
isStart boolean No
animationName string No
target EventTarget | null No
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

Properties

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.

results matching ""

    No results matching ""