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

PropTypeDefaultDescription
value[String, Number]''Formatted trend value to display
changeNumber0Change amount (determines arrow direction)

Related