2 lines
205 B
TypeScript
Executable file
2 lines
205 B
TypeScript
Executable file
/** Waits for a specific event to be emitted from an element. Ignores events that bubble up from child elements. */
|
|
export declare function waitForEvent(el: HTMLElement, eventName: string): Promise<void>;
|