@synergy-design-system/components
Version:
This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define
9 lines (8 loc) • 461 B
TypeScript
/**
* ---------------------------------------------------------------------
* 🔒 AUTOGENERATED BY VENDORISM
* Removing this comment will prevent it from being managed by it.
* ---------------------------------------------------------------------
*/
/** 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>;