stdproject/frontend/node_modules/element-plus/es/directives/repeat-click/index.d.ts
2025-05-30 13:43:31 +08:00

10 lines
375 B
TypeScript

import type { ObjectDirective } from 'vue';
export declare const REPEAT_INTERVAL = 100;
export declare const REPEAT_DELAY = 600;
export interface RepeatClickOptions {
interval?: number;
delay?: number;
handler: (...args: unknown[]) => unknown;
}
export declare const vRepeatClick: ObjectDirective<HTMLElement, RepeatClickOptions | RepeatClickOptions['handler']>;