dir

external var dir: String(source)

The HTMLElement.dir property indicates the text writing directionality of the content of the current element. It reflects the element's dir attribute.

MDN Reference