iview/dist/types/circle.d.ts

57 lines
1.1 KiB
TypeScript
Raw Normal View History

2018-08-31 18:04:17 +08:00
// Type definitions for iview 3.1.0
2018-08-30 18:11:37 +08:00
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
2018-09-03 13:28:21 +08:00
import Vue, { VNode } from 'vue';
2018-08-30 18:11:37 +08:00
2018-09-03 13:28:21 +08:00
export declare interface Circle extends Vue {
2018-08-30 18:11:37 +08:00
/**
*
* @default 0
*/
percent?: number;
/**
* px
* @default 120
*/
size?: number;
/**
* squareround
* @default round
*/
'stroke-linecap'?: 'square' | 'round';
/**
* 线 px
* @default 6
*/
'stroke-width'?: number;
/**
*
* @default #2db7f5
*/
'stroke-color'?: string
/**
* 线 px
* @default 5
*/
'trail-width'?: number;
/**
*
* @default #eaeef2
*/
'trail-color'?: string;
/**
*
* @default false
*/
dashboard?: boolean;
/**
* slot插槽对象
*/
$slots: {
/**
*
*/
'': VNode[];
};
}