File

projects/ui-kit-lib/src/lib/v2/modals/dialog-container.ts

Extends

CdkDialogContainer

Implements

OnDestroy

Metadata

Index

Properties
Methods

Methods

Protected _captureInitialFocus
_captureInitialFocus()

Focus handling after content attachment depending on delayFocusTrap config.

Returns : void
Protected _contentAttached
_contentAttached()

After content is attached, kick off the open animation.

Returns : void
Protected _openAnimationDone
_openAnimationDone(totalTime: number)

Called when open animation completes to emit "opened" and (optionally) trap focus.

Parameters :
Name Type Optional
totalTime number No
Returns : void
_startExitAnimation
_startExitAnimation()

Public entrypoint called by the ref to start the close sequence.

Returns : void
_updateActionSectionCount
_updateActionSectionCount(delta: number)

Tracks action sections; used to toggle a host layout class.

Parameters :
Name Type Optional
delta number No
Returns : void
attachComponentPortal
attachComponentPortal(portal: ComponentPortal<T>)
Type parameters :
  • T

Decorates the root component host element with a class so that card/panel styles can target it specifically when used inside a dialog.

Parameters :
Name Type Optional
portal ComponentPortal<T> No
Returns : ComponentRef<T>

Properties

Protected _actionSectionCount
Type : number
Default value : 0

Count of projected action sections (affects layout class).

_animationsEnabled
Type : unknown
Default value : true

Master flag to enable/disable animations for this container instance.

_animationStateChanged
Type : unknown
Default value : new EventEmitter<LegacyDialogAnimationEvent>()

Emits animation lifecycle states understood by the dialog ref.

results matching ""

    No results matching ""