From 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:24 +0200 Subject: convert content to md --- files/fr/web/api/notification/onshow/index.md | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'files/fr/web/api/notification/onshow/index.md') diff --git a/files/fr/web/api/notification/onshow/index.md b/files/fr/web/api/notification/onshow/index.md index a0a38caf41..83f739f73e 100644 --- a/files/fr/web/api/notification/onshow/index.md +++ b/files/fr/web/api/notification/onshow/index.md @@ -11,23 +11,20 @@ tags: - onshow translation_of: Web/API/Notification/onshow --- -

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

+{{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é.

+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

+## Syntaxe -
Notification.onshow = function() { ... }
-Notification.onshow = () => { ... }
-
+ Notification.onshow = function() { ... } + Notification.onshow = () => { ... } -

Compatibilité des navigateurs

+## Compatibilité des navigateurs -

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

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

Voir également

+## Voir également - +- {{domxref("Notification")}} +- [Utilisation de l'API Notifications](/fr/docs/Web/API/Notifications_API/Using_the_Notifications_API) -- cgit v1.2.3-54-g00ecf