index.d.ts 844 B

1234567891011121314
  1. import type { ExtractPropTypes, ToRefs } from 'vue';
  2. export declare const useDelayedToggleProps: {
  3. readonly showAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  4. readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
  5. readonly autoClose: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
  6. };
  7. export declare type UseDelayedToggleProps = {
  8. open: (event?: Event) => void;
  9. close: (event?: Event) => void;
  10. } & ToRefs<ExtractPropTypes<typeof useDelayedToggleProps>>;
  11. export declare const useDelayedToggle: ({ showAfter, hideAfter, autoClose, open, close, }: UseDelayedToggleProps) => {
  12. onOpen: (event?: Event) => void;
  13. onClose: (event?: Event) => void;
  14. };