iview/types/spin.d.ts

35 lines
701 B
TypeScript
Raw Normal View History

2018-08-31 18:04:17 +08:00
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue';
export declare interface 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;
}
}