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/api/document/onoffline | |
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/api/document/onoffline')
-rw-r--r-- | files/ja/web/api/document/onoffline/index.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/files/ja/web/api/document/onoffline/index.html b/files/ja/web/api/document/onoffline/index.html new file mode 100644 index 0000000000..c0be3b2734 --- /dev/null +++ b/files/ja/web/api/document/onoffline/index.html @@ -0,0 +1,14 @@ +--- +title: Document.onoffline +slug: Web/API/Document/onoffline +tags: + - API + - DOM + - NeedsContent + - Property + - Reference +translation_of: Web/API/Document/onoffline +--- +<div>{{APIRef("DOM")}}</div> + +<p><strong><code>Document.onoffline</code></strong> イベントハンドラーは、 {{event("offline")}} が {{HtmlElement("body")}} 要素上で発生してバブリングしたとき、 {{domxref("navigator.onLine")}} プロパティが変化して <code>false</code> になったときに呼び出されます。</p> |