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.
24 lines
818 B
24 lines
818 B
|
2 years ago
|
import type { CSSProperties, Ref } from 'vue';
|
||
|
|
import type { DialogProps } from './dialog';
|
||
|
|
export declare const useDialog: (props: DialogProps, targetRef: Ref<HTMLElement | undefined>) => {
|
||
|
|
afterEnter: () => void;
|
||
|
|
afterLeave: () => void;
|
||
|
|
beforeLeave: () => void;
|
||
|
|
handleClose: () => void;
|
||
|
|
onModalClick: () => void;
|
||
|
|
close: () => void;
|
||
|
|
doClose: () => void;
|
||
|
|
onOpenAutoFocus: () => void;
|
||
|
|
onCloseAutoFocus: () => void;
|
||
|
|
onCloseRequested: () => void;
|
||
|
|
onFocusoutPrevented: (event: CustomEvent) => void;
|
||
|
|
titleId: Ref<string>;
|
||
|
|
bodyId: Ref<string>;
|
||
|
|
closed: Ref<boolean>;
|
||
|
|
style: import("vue").ComputedRef<CSSProperties>;
|
||
|
|
overlayDialogStyle: import("vue").ComputedRef<CSSProperties>;
|
||
|
|
rendered: Ref<boolean>;
|
||
|
|
visible: Ref<boolean>;
|
||
|
|
zIndex: Ref<number>;
|
||
|
|
};
|