@58fe/p5
Version:
pc端vue组件
25 lines (18 loc) • 344 B
TypeScript
import Vue from 'vue';
export declare class p5Switch extends Vue {
// 展示dialog
value: boolean
// 开的文案
ontext: string
// 关的文案
offtext: string
// switch大小
size: string
// 设置不可用
disabled: boolean
/**
* 点击回调
* @param eventName
*/
$emit(eventName: 'input', state: boolean): this;
}