vue-html-dialog
Version:
A native HTML Dialog written in Vue.
98 lines (97 loc) • 3.27 kB
TypeScript
declare var __VLS_10: {};
type __VLS_Slots = {} & {
default?: (props: typeof __VLS_10) => any;
};
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly showBackdrop: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly closeOnBackdropClick: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly closeOnEscape: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showCloseButton: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly titleId: StringConstructor;
readonly dialogId: StringConstructor;
readonly dialogClass: StringConstructor;
readonly backdropClass: 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;
};
}>, {
openDialog: () => void;
closeDialog: () => void;
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
open: (...args: any[]) => void;
close: (...args: any[]) => void;
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly showBackdrop: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly closeOnBackdropClick: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly closeOnEscape: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly showCloseButton: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly titleId: StringConstructor;
readonly dialogId: StringConstructor;
readonly dialogClass: StringConstructor;
readonly backdropClass: 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;
}>, {
readonly showBackdrop: boolean;
readonly closeOnBackdropClick: boolean;
readonly closeOnEscape: boolean;
readonly showCloseButton: boolean;
readonly enterActiveClass: string;
readonly leaveActiveClass: string;
readonly transitionDuration: number;
}, {}, {}, {}, 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;
};
};