You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
609 B
17 lines
609 B
11 months ago
|
import type { CSSProperties, Ref, SetupContext } from 'vue';
|
||
|
import type { DialogEmits, DialogProps } from './dialog';
|
||
|
export declare const useDialog: (props: DialogProps, { emit }: SetupContext<DialogEmits>, targetRef: Ref<HTMLElement | undefined>) => {
|
||
|
afterEnter: () => void;
|
||
|
afterLeave: () => void;
|
||
|
beforeLeave: () => void;
|
||
|
handleClose: () => void;
|
||
|
onModalClick: () => void;
|
||
|
close: () => void;
|
||
|
doClose: () => void;
|
||
|
closed: Ref<boolean>;
|
||
|
style: import("vue").ComputedRef<CSSProperties>;
|
||
|
rendered: Ref<boolean>;
|
||
|
visible: Ref<boolean>;
|
||
|
zIndex: Ref<number>;
|
||
|
};
|