diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
commit | 074785cea106179cb3305637055ab0a009ca74f2 (patch) | |
tree | e6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/ru/web/api/document/applets | |
parent | da78a9e329e272dedb2400b79a3bdeebff387d47 (diff) | |
download | translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2 translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip |
initial commit
Diffstat (limited to 'files/ru/web/api/document/applets')
-rw-r--r-- | files/ru/web/api/document/applets/index.html | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/files/ru/web/api/document/applets/index.html b/files/ru/web/api/document/applets/index.html new file mode 100644 index 0000000000..c82cbdb403 --- /dev/null +++ b/files/ru/web/api/document/applets/index.html @@ -0,0 +1,71 @@ +--- +title: Document.applets +slug: Web/API/Document/applets +tags: + - API + - Document + - HTML DOM + - Апплеты + - Документ +translation_of: Web/API/Document/applets +--- +<p>{{APIRef("DOM")}}</p> + +<p><strong><code>applets</code></strong> возвращает массив апплетов, находящихся в документе.</p> + +<div class="blockIndicator note"> +<p><strong>Note</strong>: The {{htmlelement("applet")}} element was removed in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1279218">Gecko 56</a> and <a href="https://bugs.chromium.org/p/chromium/issues/detail?id=470301">Chrome in late 2015</a>. Since then, calling <code>document.applets</code> in those browsers always returns an empty {{domxref("HTMLCollection")}}. Removal is being considered in <a href="https://bugs.webkit.org/show_bug.cgi?id=157926">WebKit</a>and <a href="https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11946645/">Edge</a>.</p> +</div> + +<h2 id="Syntax" name="Syntax">Синтаксис</h2> + +<pre class="eval"><em>nodeList</em> = document.applets +</pre> + +<p> </p> + +<h3 id="Значение">Значение</h3> + +<p>{{domxref("HTMLCollection")}}.</p> + +<p> </p> + +<h2 id="Example" name="Example">Пример</h2> + +<pre class="eval">// Когда вы точно знаете, что вам нужен 2й апплет +my_java_app = document.applets[1]; +</pre> + +<h2 id="Спецификации">Спецификации</h2> + +<table> + <thead> + <tr> + <th scope="col">Спецификация</th> + <th scope="col">Статус</th> + <th scope="col">Комментарий</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('HTML WHATWG', '#dom-document-applets', 'Document.applets')}}</td> + <td>{{ Spec2('HTML WHATWG') }}</td> + <td>Obsoleted.</td> + </tr> + <tr> + <td>{{SpecName('DOM2 HTML', 'html.html#ID-85113862', 'Document.applets')}}</td> + <td>{{ Spec2('DOM2 Events') }}</td> + <td>Initial definition.</td> + </tr> + </tbody> +</table> + +<h2 id="Браузерная_поддержка">Браузерная поддержка</h2> + +<div class="hidden"> +<p>The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a>and send us a pull request.</p> +</div> + +<p>{{Compat("api.Document.applets")}}</p> + +<p> </p> |