vue-html-dialog
Version:
A native HTML Dialog written in Vue.
76 lines (75 loc) • 2.64 kB
TypeScript
declare var __VLS_1: {};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_1) => any;
};
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly modelValue: BooleanConstructor;
readonly closeOnEscape: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly closeButton: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly dialogClass: StringConstructor;
readonly closeButtonClass: StringConstructor;
readonly enterActiveClass: {
readonly type: StringConstructor;
readonly default: "fade-enter-active";
};
readonly leaveActiveClass: {
readonly type: StringConstructor;
readonly default: "fade-leave-active";
};
readonly transitionDuration: {
readonly type: NumberConstructor;
readonly default: 300;
};
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
open: (...args: any[]) => void;
close: (...args: any[]) => void;
"update:modelValue": (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly modelValue: BooleanConstructor;
readonly closeOnEscape: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly closeButton: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly dialogClass: StringConstructor;
readonly closeButtonClass: StringConstructor;
readonly enterActiveClass: {
readonly type: StringConstructor;
readonly default: "fade-enter-active";
};
readonly leaveActiveClass: {
readonly type: StringConstructor;
readonly default: "fade-leave-active";
};
readonly transitionDuration: {
readonly type: NumberConstructor;
readonly default: 300;
};
}>> & Readonly<{
onOpen?: ((...args: any[]) => any) | undefined;
onClose?: ((...args: any[]) => any) | undefined;
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
}>, {
readonly closeOnEscape: boolean;
readonly enterActiveClass: string;
readonly leaveActiveClass: string;
readonly transitionDuration: number;
readonly closeButton: boolean;
readonly modelValue: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};