diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/manifest/display | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/ja/web/manifest/display')
-rw-r--r-- | files/ja/web/manifest/display/index.html | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/files/ja/web/manifest/display/index.html b/files/ja/web/manifest/display/index.html new file mode 100644 index 0000000000..3bd009c770 --- /dev/null +++ b/files/ja/web/manifest/display/index.html @@ -0,0 +1,114 @@ +--- +title: display +slug: Web/Manifest/display +tags: + - Manifest + - Web + - display + - マニフェスト +translation_of: Web/Manifest/display +--- +<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>display</code> メンバーは、開発者が推奨するウェブサイトの表示モードを判別する文字列です。この表示モードは、ブラウザーの UI をどれだけユーザーに見せるかを変更するものであり、 <code>browser</code> (ブラウザーのウィンドウが完全に見える) から <code>fullscreen</code> (アプリが全画面になる) までの範囲を取ります。</p> + +<div class="blockIndicator note"> +<p><strong>注:</strong> <code>display</code> メンバーが指定されてなかった場合は、既定で <code>browser</code> になります。</p> +</div> + +<div class="blockIndicator note"> +<p><strong>注:</strong> 表示モードに応じて選択的に CSS を提供するには、 {{cssxref("@media/display-mode", "display-mode")}} メディア特性を使用することができます。これにより、サイトを URL から起動した場合とデスクトップアイコンから起動した場合とでユーザーの操作に一貫性を持たせることができます。</p> +</div> + +<h2 id="値">値</h2> + +<p>次の値を使用することができます。</p> + +<table class="fullwidth-table standard-table"> + <thead> + <tr> + <th scope="col">表示モード</th> + <th scope="col">解説</th> + <th scope="col">代替表示モード</th> + </tr> + </thead> + <tbody> + <tr> + <td><code>fullscreen</code></td> + <td>利用可能な画面の領域をすべて使用し、ユーザーエージェントの{{Glossary("chrome", "クローム")}}は表示されなくなります。</td> + <td><code>standalone</code></td> + </tr> + <tr> + <td><code>standalone</code></td> + <td>アプリケーションの外見は、単独のアプリケーションのようになります。これは、アプリケーションに別のウィンドウを持たせたり、アプリケーションランチャーに独自のアイコンを追加したりすることができるようになります。このモードでは、ユーザーエージェントはナビゲーションを制御するための UI 要素を除外しますが、ステータスバーなどの他の UI 要素を含めることはできます。</td> + <td><code>minimal-ui</code></td> + </tr> + <tr> + <td><code>minimal-ui</code></td> + <td>アプリケーションの外見は、単独のアプリケーションのようになりますが、ナビゲーションを制御するために最小限の UI 要素が表示されます。要素はブラウザーによって異なります。</td> + <td><code>browser</code></td> + </tr> + <tr> + <td><code>browser</code></td> + <td>アプリケーションはブラウザーやプラットフォームに応じた一般的なブラウザータブや新しいウインドウで表示されます。これが既定値です。</td> + <td>(なし)</td> + </tr> + </tbody> +</table> + +<h2 id="Examples" name="Examples">例</h2> + +<pre class="brush: json">"display": "standalone" +</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', '#display-member', 'display')}}</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="blockIndicator note"> +<p><strong>注:</strong> Firefox バージョン 47 では、 <code>display</code> の値は <code>browser</code> のみに対応しています。 <code>minimal-ui</code>, <code>standalone</code> , <code>fullscreen</code> は Firefox 57 で追加されました。</p> +</div> + +<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.display")}}</p> |