pope-test-callkit2
Version:
An Open-source Voice & Video Calling UI Component Based on Tencent Cloud Service.
51 lines (50 loc) • 1.36 kB
TypeScript
export declare const MessageProps: {
readonly isShow: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly message: {
readonly type: StringConstructor;
readonly default: "";
};
readonly type: {
readonly type: StringConstructor;
readonly values: readonly [string, string, string, string];
readonly default: string;
};
readonly duration: {
readonly type: NumberConstructor;
readonly default: 3000;
};
readonly offset: {
readonly type: NumberConstructor;
readonly default: 16;
};
readonly showClose: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly showIcon: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly customClass: {
readonly type: StringConstructor;
};
readonly customStyle: {
readonly type: ObjectConstructor;
};
};
export declare const MessageEmits: {
onClose: any;
};
export declare function useMessage(props: any, emits: any): {
messageContent: any;
messageDuration: any;
messageType: any;
messageOffset: any;
isShowCloseIcon: any;
visible: import("@vue/composition-api").Ref<boolean>;
show: (messageObj?: any) => void;
close: () => void;
};