dir
Description
The dir of HTMLElement for JS returns the element's dir attribute's value, if any.
Can be set, to either "ltr", "rtl", or "auto".
Syntax
element.dir [ = value ]
The dir of HTMLElement for JS returns the element's dir attribute's value, if any.
Can be set, to either "ltr", "rtl", or "auto".
element.dir [ = value ]