vue-chat-button-simple
Version:
Vue 3 chat button components with badge support, modal popup, fixed positioning, environment configuration, and customizable themes
50 lines • 1.56 kB
TypeScript
interface Props {
visible?: boolean;
iframeUrl?: string;
modalTitle?: string;
position?: 'right' | 'center' | 'fullscreen';
width?: string;
height?: string;
closeOnOverlay?: boolean;
closeOnEscape?: boolean;
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
title?(_: {}): any;
content?(_: {}): any;
};
refs: {};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: import('vue').DefineComponent<Props, {
open: () => void;
close: () => void;
toggle: () => void;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
"update:visible": (value: boolean) => any;
close: () => any;
open: () => any;
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
onClose?: (() => any) | undefined;
onOpen?: (() => any) | undefined;
}>, {
visible: boolean;
iframeUrl: string;
modalTitle: string;
position: "right" | "center" | "fullscreen";
width: string;
height: string;
closeOnOverlay: boolean;
closeOnEscape: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
//# sourceMappingURL=ChatModal.vue.d.ts.map