Archived
Template
1
Fork 0
This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
Contour/public/@shoelace-style/shoelace/cdn/internal/event.d.ts

3 lines
205 B
TypeScript
Raw Permalink Normal View History

2024-01-30 10:59:28 -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>;