diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:24 +0200 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
| commit | 1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch) | |
| tree | 30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/window/cancelidlecallback | |
| parent | c05efa8d7ae464235cf83d7c0956e42dc6974103 (diff) | |
| download | translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2 translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip | |
convert content to md
Diffstat (limited to 'files/fr/web/api/window/cancelidlecallback')
| -rw-r--r-- | files/fr/web/api/window/cancelidlecallback/index.md | 39 |
1 files changed, 13 insertions, 26 deletions
diff --git a/files/fr/web/api/window/cancelidlecallback/index.md b/files/fr/web/api/window/cancelidlecallback/index.md index 39c94deb9a..126c343b54 100644 --- a/files/fr/web/api/window/cancelidlecallback/index.md +++ b/files/fr/web/api/window/cancelidlecallback/index.md @@ -3,38 +3,25 @@ title: window.cancelIdleCallback() slug: Web/API/Window/cancelIdleCallback translation_of: Web/API/Window/cancelIdleCallback --- -<div>{{APIRef}}{{SeeCompatTable}}</div> +{{APIRef}}{{SeeCompatTable}} -<p>La méthode <strong><code>window.cancelIdleCallback()</code></strong> annule une fonction précedemment planifiée via {{domxref("window.requestIdleCallback()")}}.</p> +La méthode **`window.cancelIdleCallback()`** annule une fonction précedemment planifiée via {{domxref("window.requestIdleCallback()")}}. -<h2 id="Syntax">Syntaxe</h2> +## Syntaxe -<pre class="syntaxbox">window.cancelIdleCallback(<em>idleCallbackId</em>);</pre> + window.cancelIdleCallback(idleCallbackId); -<h3 id="Parameters">Paramètres</h3> +### Paramètres -<dl> - <dt>idleCallbackId</dt> - <dd>L'entier long non-signé retourné par {{domxref("window.requestIdleCallback()")}}.</dd> -</dl> +- idleCallbackId + - : L'entier long non-signé retourné par {{domxref("window.requestIdleCallback()")}}. -<h2 id="Specifications">Spécifications</h2> +## Spécifications -<table class="standard-table"> - <tbody> - <tr> - <th>Spécification</th> - <th>Status</th> - <th>Commentaire</th> - </tr> - <tr> - <td>{{SpecName('Background Tasks')}}</td> - <td>{{Spec2('Background Tasks')}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> +| Spécification | Status | Commentaire | +| -------------------------------------------- | ---------------------------------------- | -------------------- | +| {{SpecName('Background Tasks')}} | {{Spec2('Background Tasks')}} | Définition initiale. | -<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> +## Compatibilité des navigateurs -<p>{{Compat("api.Window.cancelIdleCallback")}}</p> +{{Compat("api.Window.cancelIdleCallback")}} |
