index.d.ts 501 B

1234567891011
  1. import type { Ref } from 'vue';
  2. export type UseDelayedRenderProps = {
  3. indicator: Ref<boolean>;
  4. intermediateIndicator: Ref<boolean>;
  5. shouldSetIntermediate?: (step: 'show' | 'hide') => boolean;
  6. beforeShow?: () => void;
  7. beforeHide?: () => void;
  8. afterShow?: () => void;
  9. afterHide?: () => void;
  10. };
  11. export declare const useDelayedRender: ({ indicator, intermediateIndicator, shouldSetIntermediate, beforeShow, afterShow, afterHide, beforeHide, }: UseDelayedRenderProps) => void;