UNPKG

@hotwired/turbo

Version:

The speed of a single-page web application without having to write any JavaScript

8 lines (7 loc) 315 B
declare type FormSubmitter = HTMLElement & { form?: HTMLFormElement; type?: string; }; declare const submittersByForm: WeakMap<HTMLFormElement, HTMLElement>; declare function findSubmitterFromClickTarget(target: EventTarget | null): FormSubmitter | null; declare function clickCaptured(event: Event): void;