b1b1ea63
yangd
更新d.ts到3.1.0,修复d....
|
1
|
// Type definitions for iview 3.1.0
|
454cdd17
yangd
完成新版本3.0.0的iview全...
|
2
3
4
|
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
|
4a2af4f5
yangd
1.将class定义方式修改为in...
|
5
|
import Vue, { VNode } from 'vue';
|
454cdd17
yangd
完成新版本3.0.0的iview全...
|
6
|
|
4a2af4f5
yangd
1.将class定义方式修改为in...
|
7
|
export declare interface Spin extends Vue {
|
454cdd17
yangd
完成新版本3.0.0的iview全...
|
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/**
* Spin尺寸,可选值为large和small或者不设置
*/
size?: 'large' | 'small';
/**
* 是否固定,需要父级有relative或absolute
* @default false
*/
fix?: boolean;
/**
* slot插槽对象
*/
$slots: {
/**
* 自定义 Spin 的内容,设置slot后,默认的样式不生效
*/
'': VNode[];
};
|
6d9afa9c
yangd
修改d.ts中的类名,并添加全局方...
|
26
27
28
29
30
31
32
|
}
declare module 'vue/types/vue' {
interface Vue {
/**
*
*/
|
bd8374ae
yangd
将部分全局$打头的属性或组件改为非...
|
33
|
$Spin: Spin;
|
6d9afa9c
yangd
修改d.ts中的类名,并添加全局方...
|
34
|
}
|
454cdd17
yangd
完成新版本3.0.0的iview全...
|
35
|
}
|