Theia API Documentation v1.69.0
    Preparing search index...
    • Sets the 'translate' attribute to 'no' and adds the 'notranslate' class to the given HTML element. This prevents translation tools from translating the content of the element. Typically used with document.documentElement (the tag) to disable page translation.

      Parameters

      • element: HTMLElement

        The HTML element to set translation attributes on

      Returns void