From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/ru/web/api/document/dir/index.html | 63 ++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 files/ru/web/api/document/dir/index.html (limited to 'files/ru/web/api/document/dir') diff --git a/files/ru/web/api/document/dir/index.html b/files/ru/web/api/document/dir/index.html new file mode 100644 index 0000000000..adfe8dfa7b --- /dev/null +++ b/files/ru/web/api/document/dir/index.html @@ -0,0 +1,63 @@ +--- +title: Document.dir +slug: Web/API/Document/dir +tags: + - API + - Document + - Property +translation_of: Web/API/Document/dir +--- +

{{ApiRef("")}}

+ +

Свойство Document.dir является строкой {{domxref("DOMString")}} показывает направление текста на странице (слева направо или справа налево).

+ +

Возможные значения:

+ + + +

Синтаксис

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

Спецификации

+ + + + + + + + + + + + + + + + +
СпецификацияСтатусКомментарий
{{SpecName("HTML WHATWG", "dom.html#the-dir-attribute:dom-dir", "Document.dir")}}{{Spec2("HTML WHATWG")}} 
+ +

Совместимость с браузерами

+ +

 

+ + + +

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

+ +

 

+ +

Связанные события

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