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.
15 lines
844 B
15 lines
844 B
2 months ago
|
import type { ExtractPropTypes, ToRefs } from 'vue';
|
||
|
export declare const useDelayedToggleProps: {
|
||
|
readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
||
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
||
|
readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
||
|
};
|
||
|
export declare type UseDelayedToggleProps = {
|
||
|
open: (event?: Event) => void;
|
||
|
close: (event?: Event) => void;
|
||
|
} & ToRefs<ExtractPropTypes<typeof useDelayedToggleProps>>;
|
||
|
export declare const useDelayedToggle: ({ showAfter, hideAfter, autoClose, open, close, }: UseDelayedToggleProps) => {
|
||
|
onOpen: (event?: Event) => void;
|
||
|
onClose: (event?: Event) => void;
|
||
|
};
|