@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
8 lines (7 loc) • 316 B
TypeScript
/**
* Calls the blur method on the current active element if it is a child of the provided element.
* Needed for fixing a11y errors in console.
* @see https://github.com/shoelace-style/shoelace/issues/2283
* @param elm The element to check
*/
export declare const blurActiveElement: (elm: HTMLElement) => void;