From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/api/notification/onerror/index.html | 55 ++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 files/ja/web/api/notification/onerror/index.html (limited to 'files/ja/web/api/notification/onerror') diff --git a/files/ja/web/api/notification/onerror/index.html b/files/ja/web/api/notification/onerror/index.html new file mode 100644 index 0000000000..71a97d1dcb --- /dev/null +++ b/files/ja/web/api/notification/onerror/index.html @@ -0,0 +1,55 @@ +--- +title: Notification.onerror +slug: Web/API/Notification/onerror +tags: + - API + - DOM + - Notification + - Notifications + - Notifications API + - Property + - Reference + - onerror + - プロパティ + - 通知 +translation_of: Web/API/Notification/onerror +--- +

{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}}

+ +

onerror は {{domxref("Notification")}} インターフェイスのプロパティで、 {{domxref("HTMLElement/error_event", "error")}} イベントを受信するイベントリスナーを指定します。これらのイベントは {{domxref("Notification")}} が失敗したとき (多くの場合は通知の表示が阻止されたというエラーの場合) に発生します。

+ +

構文

+ +
Notification.onerror = function() { ... };
+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('Web Notifications','#dom-notification-onerror','onerror')}}{{Spec2('Web Notifications')}}初回定義
+ +

ブラウザーの互換性

+ + + +

{{Compat("api.Notification.onerror")}}

+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf