aboutsummaryrefslogtreecommitdiff
path: root/files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-11-15 19:39:07 +0100
committerGitHub <noreply@github.com>2021-11-15 19:39:07 +0100
commit34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9 (patch)
tree21f671201b06ff6b0e507de867950b71fe1fddaf /files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html
parent3886d96643d8b7cc626f1dda0e11981ac85def86 (diff)
downloadtranslated-content-34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9.tar.gz
translated-content-34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9.tar.bz2
translated-content-34d315396ca29d7ef51ecc27eeeeeb275e9b0ba9.zip
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
Diffstat (limited to 'files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html')
-rw-r--r--files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html13
1 files changed, 4 insertions, 9 deletions
diff --git a/files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html b/files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html
index 4bff676cb3..46742021b9 100644
--- a/files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html
+++ b/files/fr/mozilla/add-ons/webextensions/api/alarms/onalarm/index.html
@@ -19,7 +19,7 @@ translation_of: Mozilla/Add-ons/WebExtensions/API/alarms/onAlarm
<h2 id="Syntaxe">Syntaxe</h2>
-<pre class="syntaxbox brush:js">browser.alarms.onAlarm.addListener(listener)
+<pre class="brush: js">browser.alarms.onAlarm.addListener(listener)
browser.alarms.onAlarm.removeListener(listener)
browser.alarms.onAlarm.hasListener(listener)
</pre>
@@ -44,7 +44,7 @@ browser.alarms.onAlarm.hasListener(listener)
<dd>
<p>La fonction qui sera appelée lorsque l'événement se produira. La fonction recevra les arguments suivants :</p>
- <dl class="reference-values">
+ <dl>
<dt><code>alarm</code></dt>
<dd>{{WebExtAPIRef('alarms.Alarm')}}. L'alarme qui s'est déclenchée. La propriété <code>Alarm.name</code> pourra être utilisée afin de déterminer l'alarme qui s'est déclenchée.</dd>
</dl>
@@ -63,18 +63,13 @@ browser.alarms.onAlarm.addListener(handleAlarm);</pre>
<p>{{WebExtExamples}}</p>
-<dl>
- <dd>
- <dl class="reference-values">
- </dl>
- </dd>
-</dl>
+
<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
<p>{{Compat("webextensions.api.alarms.onAlarm")}}</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/alarms"><code>chrome.alarms</code></a>.</p>