aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/document/onoffline/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/document/onoffline/index.html')
-rw-r--r--files/ja/web/api/document/onoffline/index.html14
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>