File

alarms/alarm-severity-to-icon.pipe.ts

Description

Pipe for transforming alarm severity types into corresponding icons.

Example :
Usage in an Angular template:
{{ 'CRITICAL' | AlarmSeverityToIcon }}
Result: 'exclamation-circle'

Metadata

Methods

transform
transform(alarmSeverity: SeverityType)

Transforms an alarm severity type into a corresponding icon.

Parameters :
Name Type Optional Description
alarmSeverity SeverityType No
  • The severity type of the alarm.

The corresponding icon for the given alarm severity type.

results matching ""

    No results matching ""