diff options
Diffstat (limited to 'files/fr/mozilla/add-ons/webextensions/api/notifications/onshown/index.html')
| -rw-r--r-- | files/fr/mozilla/add-ons/webextensions/api/notifications/onshown/index.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/fr/mozilla/add-ons/webextensions/api/notifications/onshown/index.html b/files/fr/mozilla/add-ons/webextensions/api/notifications/onshown/index.html index d2ab37746b..3514c20062 100644 --- a/files/fr/mozilla/add-ons/webextensions/api/notifications/onshown/index.html +++ b/files/fr/mozilla/add-ons/webextensions/api/notifications/onshown/index.html @@ -18,7 +18,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/notifications/onShown <h2 id="Syntaxe">Syntaxe</h2> -<pre class="syntaxbox brush:js">browser.notifications.onShown.addListener(listener) +<pre class="brush: js">browser.notifications.onShown.addListener(listener) browser.notifications.onShown.removeListener(listener) browser.notifications.onShown.hasListener(listener) </pre> @@ -43,7 +43,7 @@ browser.notifications.onShown.hasListener(listener) <dd> <p>Fonction qui sera appelée lorsque cet événement se produit. La fonction recevra les arguments suivants :</p> - <dl class="reference-values"> + <dl> <dt><code>notificationId</code></dt> <dd><code>string</code>. ID de la notification qui a été affichée.</dd> </dl> @@ -69,7 +69,7 @@ browser.notifications.onShown.addListener(logShown);</pre> <p>{{WebExtExamples}}</p> -<div class="note"><strong>Remerciements :</strong> +<div class="note"><p><strong>Note :</strong></p> <p>Cette API est basée sur l'API Chromium <a href="https://developer.chrome.com/extensions/notifications"><code>chrome.notifications</code></a>.</p> </div> |
