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

PropTypeDefaultDescription
valNumberundefinedValue to evaluate against healthMode
healthModeFunctionhealthModes.NEVER_HOTHealth evaluation function

Slots

SlotDescription
defaultMachine layout content

Related