@58fe/p5
Version:
pc端vue组件
25 lines (24 loc) • 469 B
TypeScript
import Vue from 'vue';
export declare class p5Btn extends Vue {
/**
* 按钮是否不可用
*/
disabled?: boolean;
/**
* 按钮类型 可选值 'text'
*/
nativeType: string;
/**
* 按钮主题 可选值'primary', 'success', 'info', 'warning', 'danger'
*/
type: string;
/**
* 按钮大小,默认为中等,可选值'large', 'small'
*/
size: string;
/**
* 点击按钮时触发
* @param eventName
*/
$emit(eventName: 'click'): this;
}