diff options
Diffstat (limited to 'files/de/web/manifest/short_name/index.html')
-rw-r--r-- | files/de/web/manifest/short_name/index.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/files/de/web/manifest/short_name/index.html b/files/de/web/manifest/short_name/index.html new file mode 100644 index 0000000000..0a54ba4c3c --- /dev/null +++ b/files/de/web/manifest/short_name/index.html @@ -0,0 +1,71 @@ +--- +title: short_name +slug: Web/Manifest/short_name +translation_of: Web/Manifest/short_name +--- +<div>{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}</div> + +<table class="properties"> + <tbody> + <tr> + <th scope="row">Type</th> + <td><code>String</code></td> + </tr> + <tr> + <th scope="row">Mandatory</th> + <td>No</td> + </tr> + </tbody> +</table> + +<p>The <code><dfn>short_name</dfn></code> member is a string that represents the name of the web application displayed to the user if there is not enough space to display <code><a href="./name">name</a></code> (e.g., as a label for an icon on the phone home screen). <code>short_name</code> is directionality-capable, which means it can be displayed left-to-right or right-to-left based on the value of the <code><a href="./dir">dir</a></code> and <code><a href="./lang">lang</a></code> manifest members.</p> + +<h2 id="Examples">Examples</h2> + +<p>Simple <code>short_name</code> in left-to-right language:</p> + +<pre class="brush: json notranslate">"name": "Awesome application", +"short_name": "Awesome app"</pre> + +<p><code>short_name</code> in Arabic, which will be displayed right-to-left:</p> + +<pre class="brush: json notranslate" dir="rtl"><code>"dir": "rtl", +"lang": "ar", +"nam</code>e": "تطبيق رائع", +"short_name": "رائع" +</pre> + +<h2 id="Specification">Specification</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + <th scope="col">Feedback</th> + </tr> + </thead> + <tbody> + <tr> + <td> + <p>{{SpecName('Manifest', '#short_name-member', 'short_name')}}</p> + </td> + <td> + <p>{{Spec2('Manifest')}}</p> + </td> + <td> + <p>Initial definition.</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">Browser compatibility</h2> + + + +<p>{{Compat("html.manifest.short_name")}}</p> |