CngxDialogConfig
projects/common/dialog/dialog/dialog-config.ts
Referenced by#
Import#
import { CngxDialogConfig } from '@cngx/common/dialog'
Description#
Configuration for programmatically opened dialogs.
Mirrors the declarative CngxDialog input surface - everything a
template-driven dialog can bind is also reachable through
CngxDialogOpener.open().
Index#
Instance Properties#
"first-focusable" | "none" | unknownFocus strategy on open. Default: 'first-focusable'.
Whether clicking the backdrop dismisses the dialog. Default: true.
HTMLElementFallback element to focus when the trigger element is gone by the time
the dialog closes, same contract as the declarative [focusFallback].
Whether the dialog opens as modal (showModal()) or non-modal (show()). Default: true.
CngxAsyncStateExternal async state driving pending/error, same contract as the
declarative [state] input. Takes precedence over submitAction.