Theia API Documentation v1.69.0
    Preparing search index...
    • Sets the 'lang' attribute on the given HTML element based on the current locale. If no locale is set, defaults to 'en' (English). Typically used with document.documentElement (the tag) to set the page language.

      Parameters

      • element: HTMLElement

        The HTML element to set the language attribute on

      Returns void