index.d.ts 375 B

123456789
  1. import type { ObjectDirective } from 'vue';
  2. export declare const REPEAT_INTERVAL = 100;
  3. export declare const REPEAT_DELAY = 600;
  4. export interface RepeatClickOptions {
  5. interval?: number;
  6. delay?: number;
  7. handler: (...args: unknown[]) => unknown;
  8. }
  9. export declare const vRepeatClick: ObjectDirective<HTMLElement, RepeatClickOptions | RepeatClickOptions['handler']>;