update the master branch to the latest
This commit is contained in:
parent
67d534df27
commit
23a0ba9831
611 changed files with 122648 additions and 0 deletions
35
types/spin.d.ts
vendored
Normal file
35
types/spin.d.ts
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
// Type definitions for iview 3.3.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 Spin extends Vue {
|
||||
/**
|
||||
* Spin尺寸,可选值为large和small或者不设置
|
||||
*/
|
||||
size?: 'large' | 'small';
|
||||
/**
|
||||
* 是否固定,需要父级有relative或absolute
|
||||
* @default false
|
||||
*/
|
||||
fix?: boolean;
|
||||
/**
|
||||
* slot插槽对象
|
||||
*/
|
||||
$slots: {
|
||||
/**
|
||||
* 自定义 Spin 的内容,设置slot后,默认的样式不生效
|
||||
*/
|
||||
'': VNode[];
|
||||
};
|
||||
}
|
||||
|
||||
declare module 'vue/types/vue' {
|
||||
interface Vue {
|
||||
/**
|
||||
*
|
||||
*/
|
||||
$Spin: Spin;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue