UNPKG

685 BTypeScriptView Raw
1import { VXETableComponent } from './component'
2
3/**
4 * 按钮
5 */
6export declare class Button extends VXETableComponent {
7 /**
8 * 按钮类型
9 */
10 type?: string;
11 /**
12 * 用来标识这一项
13 */
14 name?: string | number;
15 /**
16 * 内容
17 */
18 content?: string;
19 /**
20 * 状态
21 */
22 status?: string;
23 /**
24 * 按钮的图标
25 */
26 icon?: string;
27 /**
28 * 是否禁用
29 */
30 disabled?: boolean;
31 /**
32 * 是否加载中
33 */
34 loading?: boolean;
35 /**
36 * 固定显示下拉面板的方向
37 */
38 placement?: 'top' | 'bottom';
39 /**
40 * 是否将弹框容器插入于 body 内
41 */
42 transfer?: boolean;
43}