projects/common/popover/popover-panel.types.ts
import { CngxPopoverPanelConfig } from '@cngx/common/popover'
Configuration for CngxPopoverPanel provided via providePopoverPanel().
CngxPopoverPanel
providePopoverPanel()
Record
Auto-dismiss timing per variant in ms. undefined = no auto-dismiss (default). Example: { info: 5000, success: 3000 }
undefined
{ info: 5000, success: 3000 }
number
Delay in ms before closing the panel after an action succeeds. 0 = close immediately on success. undefined = don't auto-close.
0
string
Default variant string applied when none is set on the component.
boolean
Default for showArrow. undefined = per-component default (false).
showArrow
false
Default for showClose. undefined = per-component default (false).
showClose
literal type
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.
contentChild
withArrowTemplate(...)