AlertState

View as Markdown

Alert section of Adaptable State, including Initial State.

Each definition fires when its condition is met. A rule-based alert sets Scope and Rule. A row-change alert sets RowChangeTrigger ('Added' or 'Removed'). A scheduled alert sets Schedule and has no rule. MessageType sets the colour and icon. MessageHeader is the title and MessageText is the body.

TypeScript
export interface AlertState extends
Extends

BaseState

Properties

PropertyTypeDescription
AlertDefinitionsAlertDefinition[]Alerts to evaluate. Each one is a rule-based alert (Scope + Rule), a row-change alert (RowChangeTrigger), or a scheduled alert (Schedule).

Property Details

AlertDefinitions

Alerts to evaluate. Each one is a rule-based alert (Scope + Rule), a row-change alert (RowChangeTrigger), or a scheduled alert (Schedule).

TypeScript
AlertDefinitions?: AlertDefinition[];
Property Value

AlertDefinition[]