updateLangTag(elem, value) {
    if (this.isRTL(value)) {
      elem.setAttribute('dir', 'rtl');
      return;
    }
    elem.removeAttribute('dir');
  }
/**
   * Sets the dir (direction) tag on an element
   * @param {HTMLElement} elem The element to set it on.
   * @param {string} value The value to check
   */
Sets the dir (direction) tag on an element
@param {HTMLElement} elem The element to set it on.
@param {string} value The value to check
Sets the dir ( direction ) tag on an element @param { HTMLElement } elem The element to set it on . @param { string } value The value to check
updateLangTag(elem, value) {
    if (this.isRTL(value)) {
      elem.setAttribute('dir', 'rtl');
      return;
    }
    elem.removeAttribute('dir');
  }
updateLangTag ( elem , value ) { if ( this . isRTL ( value ) ) { elem . setAttribute ( 'dir' , 'rtl' ) ; return ; } elem . removeAttribute ( 'dir' ) ; }
Sets the dir (direction) tag on an element
 @param {HTMLElement} elem The element to set it on.
Sets the dir ( direction ) tag on an element @param { HTMLElement } elem The element to set it on .