sudovanilla-website/public/@shoelace-style/shoelace/cdn/internal/event.d.ts

3 lines
205 B
TypeScript
Raw Normal View History

2024-05-13 22:34:06 -05:00
/** 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>;