Skip to main content
cngx-src documentation

CngxDialogConfig

Interface

projects/common/dialog/dialog/dialog-config.ts

Referenced by#

Import#

import { CngxDialogConfig } from '@cngx/common/dialog'

Description#

Configuration for programmatically opened dialogs.

Index#

Instance Properties#

autoFocus#"first-focusable" | "none" | unknown
Optional

Focus strategy on open. Default: 'first-focusable'.

closeOnBackdropClick#boolean
Optional

Whether clicking the backdrop dismisses the dialog. Default: true.

closeOnEscape#boolean
Optional

Whether pressing Escape dismisses the dialog. Default: true.

data#D
Optional

Data to inject via CNGX_DIALOG_DATA inside the dialog component.