DataTrendDirection
components/data/TrendDirection.vue
Displays a trend value with +/- prefix and a directional triangle icon.
+12.4%
-8.2%
0%
components/data/TrendDirection.vue
Usage
<DataTrendDirection
:value = "value"
:change = "0"
/>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | [String, Number] | '' | Formatted trend value to display |
| change | Number | 0 | Change amount (determines arrow direction) |