projects/ui/feedback/alert/alerter.service.ts
import { AlertConfig } from '@cngx/ui/feedback'
Configuration for a programmatic alert.
boolean
Show a dismiss button. Default true.
true
number
Auto-dismiss duration in ms. Only applies when persistent is false.
persistent
string
Alert message text (required).
Whether the alert persists until explicitly dismissed. Default true.
Scope key - only shown in stacks with matching scope.
AlertSeverity
Visual severity - determines icon, color, and ARIA role.
Optional bold title above the message.