From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/document/dir/index.html | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 files/ja/web/api/document/dir/index.html (limited to 'files/ja/web/api/document/dir') diff --git a/files/ja/web/api/document/dir/index.html b/files/ja/web/api/document/dir/index.html new file mode 100644 index 0000000000..5f3af5bff7 --- /dev/null +++ b/files/ja/web/api/document/dir/index.html @@ -0,0 +1,51 @@ +--- +title: Document.dir +slug: Web/API/Document/dir +tags: + - API + - Document + - HTML DOM + - Reference + - プロパティ +translation_of: Web/API/Document/dir +--- +
{{ApiRef("HTML DOM")}}
+ +

Document.dir プロパティは {{domxref("DOMString")}} で、文書のテキストの書字方向が、左書き (既定) か右書きかを表します。有効な値は 'rtl' 右書き (右から左)、または 'ltr' 左書き (左から右) です。

+ +

構文

+ +
dirStr = document.dir
+document.dir = dirStr
+
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName("HTML WHATWG", "#dom-document-dir", "Document.dir")}}{{Spec2("HTML WHATWG")}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.Document.dir")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf