src/i18n.js
/* Ensure the text displayed is shown in the correct direction */
Ensure the text displayed is shown in the correct direction
Ensure the text displayed is shown in the correct direction
_ensureDirAttribute(element) {
    if (!element.getAttribute('dir')) {
      element.setAttribute('dir', 'auto')
    }
  }
_ensureDirAttribute ( element ) { if ( ! element . getAttribute ( 'dir' ) ) { element . setAttribute ( 'dir' , 'auto' ) } }
Ensure the text displayed is shown in the correct direction
Ensure the text displayed is shown in the correct direction