完成d.ts定义的优化

This commit is contained in:
yangd 2018-08-30 13:27:15 +08:00
parent 6da055f33f
commit 414730dde3
61 changed files with 353 additions and 382 deletions

57
types/circle.d.ts vendored Normal file
View file

@ -0,0 +1,57 @@
// Type definitions for iview 3.0.1
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from "vue";
export declare class Circle extends Vue {
/**
*
* @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[];
};
}