Get the Newsletter

updateTranslations

A Method

updateTranslations(el: HTMLElement): void

Scans an element for children that have a translation attribute and updates their innerHTML with the current translation values.

Parameters

el: HTMLElement
HTMLElement to search within