UNPKG

@reaktly-js/tone-accessibility

Version:

A vanilla JS Accessability Widget compliant with ADA and WCAG 2.2.

9 lines (8 loc) 329 B
/** * Updates all elements with `data-i18n-key` attributes within a given ShadowRoot. * It assumes the I18nService has already been initialized and has the * desired language loaded. * * @param shadowRoot The component's shadowRoot to update. */ export declare function updateTranslationsFor(shadowRoot: ShadowRoot): void;