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/fr/web/api/notification/onshow/index.html | 35 +++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 files/fr/web/api/notification/onshow/index.html (limited to 'files/fr/web/api/notification/onshow/index.html') diff --git a/files/fr/web/api/notification/onshow/index.html b/files/fr/web/api/notification/onshow/index.html new file mode 100644 index 0000000000..1f77b326e5 --- /dev/null +++ b/files/fr/web/api/notification/onshow/index.html @@ -0,0 +1,35 @@ +--- +title: Notification.onshow +slug: Web/API/notification/onshow +tags: + - API + - API Notifications + - Notification + - Notifications + - Propriété + - Reference + - onshow +translation_of: Web/API/Notification/onshow +--- +

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

+ +

La propriété onshow de l'interface {{domxref ("Notification")}} définit un écouteur d'événements pour recevoir des événements {{domxref ("Element/show_event", "show")}}. Ces événements se produisent lorsqu'une {{domxref ("Notification")}} est affiché.

+ +

Syntaxe

+ +
Notification.onshow = function() { ... }
+Notification.onshow = () => { ... }
+
+ +

Compatibilité des navigateurs

+ + + +

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

+ +

Voir également

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