Content-Length: 191410 | pFad | http://developer.mozilla.org/ja/docs/Web/API/HTMLScriptElement/blocking

HTMLScriptElement: blocking プロパティ - Web API | MDN

このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

View in English Always switch to English

HTMLScriptElement: blocking プロパティ

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: これは実験的な機能です。
本番で使用する前にブラウザー互換性一覧表をチェックしてください。

blockingHTMLScriptElement インターフェイスのプロパティで、スクリプトを取得する際に特定の操作を実行しないことを示す文字列です。

これは <script> 要素の blocking 属性を反映しています。

文字列です。ブロックする操作を示す下記のブロックトークンのスペース区切りのリストでなければなりません。

render

画面へのコンテンツの描画がブロックされます。

html
<script id="el" type="text/javascript" async blocking="render"></script>
js
const el = document.getElementById("el");
console.log(el.blocking); // 出力: "render"

仕様書

Specification
HTML
# dom-script-blocking

ブラウザーの互換性

関連情報









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://developer.mozilla.org/ja/docs/Web/API/HTMLScriptElement/blocking

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy