bklLiudl
2025-04-07 4e8f58cb41c7b6d570fd1979d80f74ab8a4d00c2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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;
  }
}