aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/notification/onclose
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/notification/onclose')
-rw-r--r--files/fr/web/api/notification/onclose/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/fr/web/api/notification/onclose/index.html b/files/fr/web/api/notification/onclose/index.html
index 5d5edbde16..5dddd078f3 100644
--- a/files/fr/web/api/notification/onclose/index.html
+++ b/files/fr/web/api/notification/onclose/index.html
@@ -13,11 +13,11 @@ translation_of: Web/API/Notification/onclose
---
<p>{{APIRef("Web Notifications")}}{{AvailableInWorkers}}{{securecontext_header}}</p>
-<p><span class="seoSummary">La propriété <strong><code>onclose</code></strong> de l'interface {{domxref ("Notification")}} définit un écouteur d'événements pour recevoir les événements {{domxref ("HTMLDialogElement/close_event", "close")}}. Ces événements se produisent lorsqu'une {{domxref ("Notification")}} est fermée.</span></p>
+<p>La propriété <strong><code>onclose</code></strong> de l'interface {{domxref ("Notification")}} définit un écouteur d'événements pour recevoir les événements {{domxref ("HTMLDialogElement/close_event", "close")}}. Ces événements se produisent lorsqu'une {{domxref ("Notification")}} est fermée.</p>
<h2 id="Syntaxe">Syntaxe</h2>
-<pre class="syntaxbox notranslate"><var>Notification</var>.onclose = function(event) { ... }
+<pre class="syntaxbox"><var>Notification</var>.onclose = function(event) { ... }
Notification.onclose = (event) =&gt; { ... }
</pre>