From 34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9 Mon Sep 17 00:00:00 2001 From: SphinxKnight Date: Mon, 15 Nov 2021 19:39:07 +0100 Subject: Prepare Mozilla section for Markdown conversion (#2980) * Remove summary * Remove hidden except for copyright notice * Remove spans * Remove font * Remove notranslate * Remove extra id, deleting an untranslated page doing so * Fix links, absolute links, rm internal, titles * Remove external classes * fix headings with name attr * fix some styles and classes * remove useless class reference-values * rm styles in links * Fix code blocks in pre * Remove ltr classes * remove fullwidth-table * Fix various conversion errors and some one offs * Remove nested code/pre/code * Fix notes * Fix warnings * fix dls * fix nested issues in dls * fix images --- .../add-ons/webextensions/api/notifications/onclosed/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/fr/mozilla/add-ons/webextensions/api/notifications/onclosed/index.html') diff --git a/files/fr/mozilla/add-ons/webextensions/api/notifications/onclosed/index.html b/files/fr/mozilla/add-ons/webextensions/api/notifications/onclosed/index.html index 976b644fac..4c2c3fd405 100644 --- a/files/fr/mozilla/add-ons/webextensions/api/notifications/onclosed/index.html +++ b/files/fr/mozilla/add-ons/webextensions/api/notifications/onclosed/index.html @@ -19,7 +19,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/notifications/onClosed

Syntaxe

-
browser.notifications.onClosed.addListener(listener)
+
browser.notifications.onClosed.addListener(listener)
 browser.notifications.onClosed.removeListener(listener)
 browser.notifications.onClosed.hasListener(listener)
 
@@ -44,7 +44,7 @@ browser.notifications.onClosed.hasListener(listener)

Fonction qui sera appelée lorsque cet événement se produit. La fonction recevra les arguments suivants :

-
+
notificationId
string. ID de la notification fermée.
byUser
@@ -67,7 +67,7 @@ browser.notifications.onClosed.hasListener(listener)

{{WebExtExamples}}

-
Remerciements : +

Note :

Cette API est basée sur l'API Chromium chrome.notifications.

-- cgit v1.2.3-54-g00ecf