cdk / dialog / Interface

DialogFacade

Generic types:T

A facade interface useful for reactively interacting with a specific type of dialog within components, created by useDialog.

See Also

Properties

NameTypeDescription
ref
r
Signal<DialogRefOf<T> | undefined>

Signal containing a DialogRef if the dialog is launched and not disposed, or undefined otherwise.

Methods

launch()

Launch the dialog with configuration overrides

Presentation
launch(config?: DialogConfigOf<T> | undefined): DialogRefOf<T>;
Parameters
NameTypeDescription
config
DialogConfigOf<T> | undefined

configuration that will be shallow-merged with the default one.

Returns
DialogRefOf<T> -

a strictly typed DialogRef object