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.

9 lines
375 B

  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']>;