ant-design-vue/types/statistic.ts

59 lines
1.0 KiB
TypeScript
Raw Normal View History

2019-05-25 09:18:04 +00:00
// Project: https://github.com/vueComponent/ant-design-vue
// Definitions by: akki-jat <https://github.com/akki-jat>
// Definitions: https://github.com/vueComponent/ant-design-vue/types
import { AntdComponent } from './component';
2019-05-25 10:02:44 +00:00
import { VNode } from 'vue';
2019-05-25 09:18:04 +00:00
export declare class Statistic extends AntdComponent {
/**
2019-05-25 10:02:44 +00:00
* decimal separator
* @default '.'
2019-05-25 09:18:04 +00:00
* @type string
*/
2019-05-25 10:02:44 +00:00
decimalSeparator: string;
2019-05-25 09:18:04 +00:00
/**
* the shape of statistic
* @type string
*/
2019-05-25 10:02:44 +00:00
formatter: () => VNode;
2019-05-25 09:18:04 +00:00
/**
2019-05-25 10:02:44 +00:00
* group separator
* @default ','
* @type string
2019-05-25 09:18:04 +00:00
*/
2019-05-25 10:02:44 +00:00
groupSeparator: string;
2019-05-25 09:18:04 +00:00
/**
2019-05-25 10:02:44 +00:00
* precision of input value
* @type number
2019-05-25 09:18:04 +00:00
*/
2019-05-25 10:02:44 +00:00
precision: number;
2019-05-25 09:18:04 +00:00
/**
2019-05-25 10:02:44 +00:00
* prefix node of value
* @type string | VNode
2019-05-25 09:18:04 +00:00
*/
2019-05-25 10:02:44 +00:00
prefix: string | VNode;
2019-05-25 09:18:04 +00:00
/**
2019-05-25 10:02:44 +00:00
* suffix node of value
* @type string | VNode
2019-05-25 09:18:04 +00:00
*/
2019-05-28 03:37:38 +00:00
suffix: string | VNode;
2019-05-25 09:18:04 +00:00
/**
2019-05-25 10:02:44 +00:00
* Display title
* @type string | VNode
2019-05-25 09:18:04 +00:00
*/
2019-05-25 10:02:44 +00:00
title: string | VNode;
/**
* Display value
* @type string or number
*/
value: string | number;
2019-05-25 09:18:04 +00:00
}