@58fe/p5
Version:
pc端vue组件
34 lines (25 loc) • 523 B
TypeScript
import Vue from 'vue';
export declare class p5Dialog extends Vue {
// 展示dialog
value: boolean
// 标题
title: number
// 一句话内容
content: boolean
// 确定按钮的文案
okBtnText: boolean
// 取消按钮的文案
cancelBtnText: boolean
// 自己单加的class
othClassName: string
/**
* 点击弹框确定按钮时触发
* @param eventName
*/
$emit(eventName: 'ok'): this;
/**
* 点击弹框取消按钮时触发
* @param eventName
*/
$emit(eventName: 'cancel'): this;
}