UNPKG

@ekisa-cdk/forms

Version:

🛠️ Easily build & integrate dynamic forms

11 lines (10 loc) 402 B
import { FormPlugin } from '../plugins'; export declare type EventsPluginConfig = { targetKey: string; attachmentType: 'single' | 'multiple'; on: keyof HTMLElementEventMap; runFn: (this: Element, ev: Event) => void; }; export declare class EventsPlugin implements FormPlugin<EventsPluginConfig> { run({ targetKey, attachmentType, on, runFn }: EventsPluginConfig): void; }