1011 B
1011 B
API
Statistic
Property | Description | Type | Default |
---|---|---|---|
decimalSeparator | decimal separator | string | . |
formatter | customize value display logic | (h) => VNode | - |
groupSeparator | group separator | string | , |
precision | precision of input value | number | - |
prefix | prefix node of value | string | VNode | - |
suffix | suffix node of value | string | VNode | - |
title | Display title | string | VNode | - |
value | Display value | string | number | - |
Statistic.Countdown
Property | Description | Type | Default |
---|---|---|---|
format | Format as moment | string | 'HH:mm:ss' |
onFinish | Trigger when time's up | () => void | - |
prefix | prefix node of value | string | VNode | - |
suffix | suffix node of value | string | VNode | - |
title | Display title | string | VNode | - |
value | Set target countdown time | number | moment | - |