aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/manifest/dir
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/manifest/dir
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/manifest/dir')
-rw-r--r--files/ja/web/manifest/dir/index.html87
1 files changed, 87 insertions, 0 deletions
diff --git a/files/ja/web/manifest/dir/index.html b/files/ja/web/manifest/dir/index.html
new file mode 100644
index 0000000000..7d58dca06a
--- /dev/null
+++ b/files/ja/web/manifest/dir/index.html
@@ -0,0 +1,87 @@
+---
+title: dir
+slug: Web/Manifest/dir
+tags:
+ - Manifest
+ - Web
+ - dir
+ - マニフェスト
+translation_of: Web/Manifest/dir
+---
+<div>{{QuickLinksWithSubpages("/ja/docs/Web/Manifest")}}</div>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">型</th>
+ <td><code>String</code></td>
+ </tr>
+ <tr>
+ <th scope="row">必須</th>
+ <td>いいえ</td>
+ </tr>
+ </tbody>
+</table>
+
+<p>マニフェストの書字方向に対応しているメンバーを表示するための基本的な方向です。 <code><a href="./lang">lang</a></code> メンバーと共に、右書きの言語を正しく表示するのに役立ちます。</p>
+
+<p><code>dir</code> メンバーには、次の値のうちの一つを設定することができます。</p>
+
+<ul>
+ <li><code>auto</code> — ユーザーエージェントが判断した書字方向</li>
+ <li><code>ltr</code> — 左書き (left to right)</li>
+ <li><code>rtl</code> — 右書き (right to left)</li>
+</ul>
+
+<p><dfn>書字方向に対応しているメンバー</dfn>は以下の通りです。</p>
+
+<ul>
+ <li><code><a href="./name">name</a></code></li>
+ <li><code><a href="./short_name">short_name</a></code></li>
+ <li><code><a href="./description">description</a></code></li>
+</ul>
+
+<div class="blockIndicator note">
+<p><strong>注</strong>: この値が省略されたり <code>auto</code> に設定されていたりした場合は、ブラウザーは <a href="/ja/docs/Web/Localization/Unicode_Bidirectional_Text_Algorithm">Unicode 双方向アルゴリズム</a>を使用してテキストの書字方向に最適な推測を行います。</p>
+</div>
+
+<h2 id="Examples" name="Examples">例</h2>
+
+<pre class="brush: json" dir="rtl"><code>"dir": "rtl",
+"lang": "ar",
+"short_name": "!أنا من التطبيق"</code></pre>
+
+<h2 id="Specification" name="Specification">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ <th scope="col">フィードバック</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ <p>{{SpecName('Manifest', '#dir-member', 'dir')}}</p>
+ </td>
+ <td>
+ <p>{{Spec2('Manifest')}}</p>
+ </td>
+ <td>
+ <p>初回定義</p>
+ </td>
+ <td>
+ <p><a href="https://github.com/w3c/manifest/issues/">Web App Manifest Working Group drafts</a></p>
+ </td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<p>{{Compat("html.manifest.dir")}}</p>