DataMetricBackground
components/data/metric/Background.vue
Wrapper that highlights background red when a value is "hot" according to a health mode.
val = 50
Healthy (100)
Hot (0, ZERO_TOLERANCE)
components/data/metric/Background.vue
Usage
<DataMetricBackground
:val = "val"
:healthMode = "healthModes.NEVER_HOT"
>
Content here
</DataMetricBackground>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| val | Number | undefined | Value to evaluate against healthMode |
| healthMode | Function | healthModes.NEVER_HOT | Health evaluation function |
Slots
| Slot | Description |
|---|---|
| default | Machine layout content |