DOM

Document.dir プロパティ

 編集:2022.10.11 by T.A.

Document のテキストの書字方向を取得/設定します。

構文
Document.dir

文字列。

ltr または ヌル 左書き(左から右)
rtl 右書き(右から左)

テスト