Skip to main content
cngx-src documentation

CngxPopoverPanelConfig

Interface

projects/common/popover/popover-panel.types.ts

Import#

import { CngxPopoverPanelConfig } from '@cngx/common/popover'

Description#

Configuration for CngxPopoverPanel provided via providePopoverPanel().

Index#

Instance Properties#

autoDismiss#Record
Optional

Auto-dismiss timing per variant in ms. undefined = no auto-dismiss (default). Example: { info: 5000, success: 3000 }

closeOnSuccessDelay#number
Optional

Delay in ms before closing the panel after an action succeeds. 0 = close immediately on success. undefined = don't auto-close.

defaultVariant#string
Optional

Default variant string applied when none is set on the component.

showArrow#boolean
Optional

Default for showArrow. undefined = per-component default (false).

showClose#boolean
Optional

Default for showClose. undefined = per-component default (false).

templates#literal type
Optional

App-wide template overrides for the panel's visible regions. Each entry is the third tier of the slot cascade — per-instance contentChild directives still win, the library defaults still lose. Set via withArrowTemplate(...) and friends.