diff options
Diffstat (limited to 'files/fr/web/api/idbobjectstore')
20 files changed, 96 insertions, 1544 deletions
diff --git a/files/fr/web/api/idbobjectstore/add/index.html b/files/fr/web/api/idbobjectstore/add/index.html index 0e2a4a7b83..465c318d74 100644 --- a/files/fr/web/api/idbobjectstore/add/index.html +++ b/files/fr/web/api/idbobjectstore/add/index.html @@ -148,83 +148,7 @@ function addData() { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24 (unprefixed)</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, partial</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.add")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/autoincrement/index.html b/files/fr/web/api/idbobjectstore/autoincrement/index.html index d6b516219f..834991b34f 100644 --- a/files/fr/web/api/idbobjectstore/autoincrement/index.html +++ b/files/fr/web/api/idbobjectstore/autoincrement/index.html @@ -96,74 +96,7 @@ function addData() { <h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support basique</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, en partie</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support basique</td> - <td>4.4</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.autoIncrement")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/clear/index.html b/files/fr/web/api/idbobjectstore/clear/index.html index 3f6213015f..ad64ef25e0 100644 --- a/files/fr/web/api/idbobjectstore/clear/index.html +++ b/files/fr/web/api/idbobjectstore/clear/index.html @@ -99,74 +99,7 @@ function clearData() { <h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support basique</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, en partie</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support basique</td> - <td>4.4</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.clear")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/count/index.html b/files/fr/web/api/idbobjectstore/count/index.html index 3ac1c44d6e..a3664d60f1 100644 --- a/files/fr/web/api/idbobjectstore/count/index.html +++ b/files/fr/web/api/idbobjectstore/count/index.html @@ -89,86 +89,7 @@ countRequest.onsuccess = function() { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.count")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/createindex/index.html b/files/fr/web/api/idbobjectstore/createindex/index.html index aef72d855a..4990563c73 100644 --- a/files/fr/web/api/idbobjectstore/createindex/index.html +++ b/files/fr/web/api/idbobjectstore/createindex/index.html @@ -149,74 +149,7 @@ DBOpenRequest.onupgradeneeded = function(event) { <h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support basique</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, en partie</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support basique</td> - <td>4.4</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.createIndex")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/delete/index.html b/files/fr/web/api/idbobjectstore/delete/index.html index 81350ca992..bf825252f0 100644 --- a/files/fr/web/api/idbobjectstore/delete/index.html +++ b/files/fr/web/api/idbobjectstore/delete/index.html @@ -127,86 +127,7 @@ function deleteData() { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, partial</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.delete")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/deleteindex/index.html b/files/fr/web/api/idbobjectstore/deleteindex/index.html index b0ff264b07..4177b1015b 100644 --- a/files/fr/web/api/idbobjectstore/deleteindex/index.html +++ b/files/fr/web/api/idbobjectstore/deleteindex/index.html @@ -115,74 +115,7 @@ DBOpenRequest.onupgradeneeded = function(event) { <h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, en partie</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.deleteIndex")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/get/index.html b/files/fr/web/api/idbobjectstore/get/index.html index 8852a504d4..b0f3cf48ce 100644 --- a/files/fr/web/api/idbobjectstore/get/index.html +++ b/files/fr/web/api/idbobjectstore/get/index.html @@ -111,78 +111,11 @@ function deleteData() { </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> +<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> +<p>{{Compat("api.IDBObjectStore.get")}}</p> -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support basique</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, en partie</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support basique</td> - <td>4.4</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Voir_aussi">Voir aussi</h2> +<h2 id="See_also">Voir aussi</h2> <ul> <li>{{domxref("IndexedDB_API.Using_IndexedDB","Utiliser IndexedDB")}}</li> diff --git a/files/fr/web/api/idbobjectstore/getall/index.html b/files/fr/web/api/idbobjectstore/getall/index.html index 714ca578d7..5906c43e57 100644 --- a/files/fr/web/api/idbobjectstore/getall/index.html +++ b/files/fr/web/api/idbobjectstore/getall/index.html @@ -59,63 +59,11 @@ translation_of: Web/API/IDBObjectStore/getAll </tbody> </table> -<h2 id="Compatibilité_avec_les_navigateurs">Compatibilité avec les navigateurs</h2> +<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> +<p>{{Compat("api.IDBObjectStore.getAll")}}</p> -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support basique</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Support basique</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatChrome(48.0)}}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Voir_aussi">Voir aussi</h2> +<h2 id="See_also">Voir aussi</h2> <ul> <li>{{domxref("IndexedDB_API.Using_IndexedDB","Utiliser IndexedDB")}}</li> @@ -124,5 +72,5 @@ translation_of: Web/API/IDBObjectStore/getAll <li>{{domxref("IDBKeyRange","Définir l'intervalle des clés")}}</li> <li>{{domxref("IDBObjectStore","Accès aux magasins d'objets")}}</li> <li>{{domxref("IDBCursor","Utiliser les curseurs")}}</li> - <li>Exemple de référence: <a class="external" href="https://github.com/mdn/to-do-notifications/tree/gh-pages">To-do Notifications</a> (<a class="external" href="http://mdn.github.io/to-do-notifications/">view example live</a>.)</li> + <li>Exemple de référence: <a href="https://github.com/mdn/to-do-notifications/tree/gh-pages">To-do Notifications</a> (<a href="http://mdn.github.io/to-do-notifications/">view example live</a>.)</li> </ul> diff --git a/files/fr/web/api/idbobjectstore/getallkeys/index.html b/files/fr/web/api/idbobjectstore/getallkeys/index.html index 56a70e3e68..98ab2eb86e 100644 --- a/files/fr/web/api/idbobjectstore/getallkeys/index.html +++ b/files/fr/web/api/idbobjectstore/getallkeys/index.html @@ -91,77 +91,7 @@ var request = <em>objectStore</em>.getAllKeys(<em>query</em>, <em>count</em>);</ <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatGeckoDesktop(44)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera(35)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera(35)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatGeckoMobile(44)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOperaMobile(35)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatChrome(48.0)}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOperaMobile(35)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatChrome(48.0)}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Cette fonctionnalité était disponible depuis Firefox 27 via la préférence <code>dom.indexedDB.experimental</code>, qui était désactivée par défaut.</p> +<p>{{Compat("api.IDBObjectStore.getAllKeys")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/getkey/index.html b/files/fr/web/api/idbobjectstore/getkey/index.html index 9e56d3b408..5c8f6ca6ba 100644 --- a/files/fr/web/api/idbobjectstore/getkey/index.html +++ b/files/fr/web/api/idbobjectstore/getkey/index.html @@ -1,64 +1,67 @@ --- title: IDBObjectStore.getKey() slug: Web/API/IDBObjectStore/getKey +tags: + - IBDObjectStore + - IndexedDB + - Method + - Méthode + - Reference + - Storage + - Web API translation_of: Web/API/IDBObjectStore/getKey --- -<p>{{ APIRef("IndexedDB") }}</p> +<p>{{APIRef("IndexedDB")}}</p> -<div> -<p>La méthode <strong><code>getKey()</code></strong> de l'interface {{domxref("IDBObjectStore")}} retourne un objet {{domxref("IDBRequest")}}, et, dans un <em>thread</em> séparé, retourne la clé sélectionnée par la requête spécifiée. Cela permet de retrouver un enregistrement spécifique depuis un espace de stockage déterminé.</p> -</div> +<p class="summary">La méthode <strong><code>getKey()</code></strong> de l'interface {{domxref("IDBObjectStore")}} retourne un objet {{domxref("IDBRequest")}}, et, dans un <em>thread</em> séparé, retourne la clé sélectionnée par la requête spécifiée. Cela permet de retrouver un enregistrement spécifique depuis un espace de stockage déterminé.</p> <p>Si la clé a bien été retrouvée, alors un clone structuré (une copie conforme) sera créée et servira comme résultat à l'objet de requête.</p> <p>{{AvailableInWorkers}}</p> -<h2 id="Syntax">Syntax</h2> +<h2 id="Syntax">Syntaxe</h2> -<pre class="syntaxbox">var request = <em>objectStore</em>.getKey(<em>key</em>);</pre> +<pre class="syntaxbox">let <var>request</var> = <var>objectStore</var>.getKey(<var>key</var>);</pre> -<h3 id="Parameters">Parameters</h3> +<h3 id="Parameters">Paramètres</h3> <dl> - <dt><em>key</em></dt> - <dd>La clé ou l'intervale de clé qui identifie l'enregistrement à retrouver.</dd> + <dt><em>key</em></dt> + <dd>La clé ou l'intervale de clé qui identifie l'enregistrement à retrouver.</dd> </dl> -<h3 id="Return_Value">Return Value</h3> +<h3 id="Return_Value">Valeur de retour</h3> -<p>An {{domxref("IDBRequest")}} object on which subsequent events related to this operation are fired.</p> +<p>Un objet {{domxref("IDBRequest")}} sur lequel les événements ultérieurs liés à cette opération sont déclenchés.</p> <h3 id="Exceptions">Exceptions</h3> -<p>This method may raise a {{domxref("DOMException")}} of one of the following types:</p> +<p>Cette méthode peut provoquer une {{domxref("DOMException")}} de l'un des types suivants :</p> <table class="standard-table"> - <thead> - <tr> - <th scope="col">Exception</th> - <th scope="col">Description</th> - </tr> - </thead> - <tbody> - <tr> - <td><code>TransactionInactiveError</code></td> - <td>This {{domxref("IDBObjectStore")}}'s transaction is inactive.</td> - </tr> - <tr> - <td><code>DataError</code></td> - <td> - <p>The key or key range provided contains an invalid key.</p> - </td> - </tr> - <tr> - <td><code>InvalidStateError</code></td> - <td>The {{domxref("IDBObjectStore")}} has been deleted or removed.<br> - </td> - </tr> - </tbody> + <thead> + <tr> + <th scope="col">Exception</th> + <th scope="col">Description</th> + </tr> + </thead> + <tbody> + <tr> + <td><code>TransactionInactiveError</code></td> + <td>La transaction de ce {{domxref("IDBObjectStore")}} est inactive.</td> + </tr> + <tr> + <td><code>DataError</code></td> + <td>La clé ou la plage de clés fournie contient une clé invalide.</td> + </tr> + <tr> + <td><code>InvalidStateError</code></td> + <td>Le {{domxref("IDBObjectStore")}} a été supprimé ou retiré.</td> + </tr> + </tbody> </table> -<h2 id="Example">Example</h2> +<h2 id="Example">Exemple</h2> <pre class="brush: js">let openRequest = indexedDB.open("telemetry"); openRequest.onsuccess = (event) => { @@ -71,104 +74,41 @@ openRequest.onsuccess = (event) => { let request = store.getKey(IDBKeyRange(yesterday, today)); request.onsuccess = (event) => { let when = event.target.result; - alert("The 1st activity in last 24 hours was occurred at " + when); + alert("La 1ère activité des dernières 24 heures s'est produite à " + when); }; };</pre> -<h2 id="Specifications">Specifications</h2> +<h2 id="Specifications">Spécifications</h2> <table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('IndexedDB 2', '#dom-idbobjectstore-getkey', 'getKey()')}}</td> - <td>{{Spec2('IndexedDB 2')}}</td> - <td>Initial definition</td> - </tr> - </tbody> + <thead> + <tr> + <th scope="col">Spécification</th> + <th scope="col">Statut</th> + <th scope="col">Commentaire</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName('IndexedDB 2', '#dom-idbobjectstore-getkey', 'getKey()')}}</td> + <td>{{Spec2('IndexedDB 2')}}</td> + <td>Définition initiale.</td> + </tr> + </tbody> </table> -<h2 id="Browser_compatibility">Browser compatibility</h2> - -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatChrome(58)}}</td> - <td>{{CompatGeckoDesktop("51.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera(45)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td>Available in workers</td> - <td>{{CompatChrome(58)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera(45)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Android Webview</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatChrome(58)}}</td> - <td>{{CompatChrome(58)}}</td> - <td>{{CompatGeckoMobile("51.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOperaMobile(45)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td>Available in workers</td> - <td>{{CompatChrome(58)}}</td> - <td>{{CompatChrome(58)}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOperaMobile(45)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> + +<p>{{Compat("api.IDBObjectStore.getKey")}}</p> -<h2 id="See_also">See also</h2> +<h2 id="See_also">Voir aussi</h2> <ul> - <li><a href="/en-US/docs/Web/API/IndexedDB_API/Using_IndexedDB">Using IndexedDB</a></li> - <li>Starting transactions: {{domxref("IDBDatabase")}}</li> - <li>Using transactions: {{domxref("IDBTransaction")}}</li> - <li>Setting a range of keys: {{domxref("IDBKeyRange")}}</li> - <li>Retrieving and making changes to your data: {{domxref("IDBObjectStore")}}</li> - <li>Using cursors: {{domxref("IDBCursor")}}</li> - <li>Reference example: <a class="external" href="https://github.com/mdn/to-do-notifications/tree/gh-pages">To-do Notifications</a> (<a class="external" href="https://mdn.github.io/to-do-notifications/">view example live</a>.)</li> + <li><a href="/fr/docs/Web/API/IndexedDB_API/Using_IndexedDB">Utiliser IndexedDB</a></li> + <li>Transactions de départ : {{domxref("IDBDatabase")}}</li> + <li>Utilisation des transactions : {{domxref("IDBTransaction")}}</li> + <li>Réglage d'une fourchette de clés : {{domxref("IDBKeyRange")}}</li> + <li>Récupération et modification de vos données : {{domxref("IDBObjectStore")}}</li> + <li>Utilisation des curseurs : {{domxref("IDBCursor")}}</li> + <li>Exemple de référence : <a href="https://github.com/mdn/to-do-notifications/tree/gh-pages">Notifications des tâches</a> (<a href="https://mdn.github.io/to-do-notifications/">voir l'exemple en direct</a>.)</li> </ul> diff --git a/files/fr/web/api/idbobjectstore/index.html b/files/fr/web/api/idbobjectstore/index.html index b2c219650e..7a83d69130 100644 --- a/files/fr/web/api/idbobjectstore/index.html +++ b/files/fr/web/api/idbobjectstore/index.html @@ -149,84 +149,11 @@ objectStoreRequest.onsuccess = function(event) { </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> +<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> +<p>{{Compat("api.IDBObjectStore")}}</p> -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support basique</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, en partie</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponibke dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>Support basique</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponibke dans workers</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Voir_aussi">Voir aussi</h2> +<h2 id="See_also">Voir aussi</h2> <ul> <li>{{domxref("IndexedDB_API.Using_IndexedDB","Utiliser IndexedDB")}}</li> diff --git a/files/fr/web/api/idbobjectstore/index/index.html b/files/fr/web/api/idbobjectstore/index/index.html index d4f2db4edb..c1e0b9c4f9 100644 --- a/files/fr/web/api/idbobjectstore/index/index.html +++ b/files/fr/web/api/idbobjectstore/index/index.html @@ -109,83 +109,7 @@ translation_of: Web/API/IDBObjectStore/index <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, partial</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.index")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/indexnames/index.html b/files/fr/web/api/idbobjectstore/indexnames/index.html index c3cd0288e6..3d8de9359e 100644 --- a/files/fr/web/api/idbobjectstore/indexnames/index.html +++ b/files/fr/web/api/idbobjectstore/indexnames/index.html @@ -97,83 +97,7 @@ function addData() { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.indexNames")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/keypath/index.html b/files/fr/web/api/idbobjectstore/keypath/index.html index 16e46308c8..bff72a916c 100644 --- a/files/fr/web/api/idbobjectstore/keypath/index.html +++ b/files/fr/web/api/idbobjectstore/keypath/index.html @@ -99,88 +99,7 @@ function addData() { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support<br> - simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, partiel</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support<br> - Simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.keyPath")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/name/index.html b/files/fr/web/api/idbobjectstore/name/index.html index 4fb4c3fbb7..1914280158 100644 --- a/files/fr/web/api/idbobjectstore/name/index.html +++ b/files/fr/web/api/idbobjectstore/name/index.html @@ -105,103 +105,7 @@ function addData() { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop(16)}}</td> - <td>10</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop(37)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td>Renommage possible via le mutateur <code>name</code></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop(49)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile(22)}}</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile(37)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Renommage possible via le mutateur <code>name</code></td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile(49)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.name")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/opencursor/index.html b/files/fr/web/api/idbobjectstore/opencursor/index.html index 6109ea0611..c4a99970e1 100644 --- a/files/fr/web/api/idbobjectstore/opencursor/index.html +++ b/files/fr/web/api/idbobjectstore/opencursor/index.html @@ -99,86 +99,7 @@ request.onsuccess = function(event) { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, partial</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.openCursor")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/openkeycursor/index.html b/files/fr/web/api/idbobjectstore/openkeycursor/index.html index d5d23efe42..25390421f9 100644 --- a/files/fr/web/api/idbobjectstore/openkeycursor/index.html +++ b/files/fr/web/api/idbobjectstore/openkeycursor/index.html @@ -96,77 +96,7 @@ request.onsuccess = function(event) { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatGeckoDesktop("44.0")}} [1]</td> - <td>10, partial</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOpera(35)}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatGeckoMobile("44.0")}} [1]</td> - <td>10</td> - <td>22</td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(48.0)}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatNo}}</td> - <td>{{CompatChrome(48.0)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatOperaMobile(35)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatChrome(48.0)}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Cette fonctionnalité était disponible depuis Firefox 27 via une préférence : <code>dom.indexedDB.experimental</code> qui était désactivée par défaut.</p> +<p>{{Compat("api.IDBObjectStore.openKeyCursor")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/put/index.html b/files/fr/web/api/idbobjectstore/put/index.html index 4122bd300f..383a548934 100644 --- a/files/fr/web/api/idbobjectstore/put/index.html +++ b/files/fr/web/api/idbobjectstore/put/index.html @@ -135,86 +135,7 @@ objectStoreTitleRequest.onsuccess = function() { <h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support simple</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>{{CompatVersionUnknown}}</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, partial</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Webview Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome pour Android</th> - </tr> - <tr> - <td>Support simple</td> - <td>4.4</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>Disponible dans les <em>web workers</em></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.IDBObjectStore.put")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> diff --git a/files/fr/web/api/idbobjectstore/transaction/index.html b/files/fr/web/api/idbobjectstore/transaction/index.html index 013af1c552..281ad9afdf 100644 --- a/files/fr/web/api/idbobjectstore/transaction/index.html +++ b/files/fr/web/api/idbobjectstore/transaction/index.html @@ -70,7 +70,7 @@ function addData() { <p class="note">Pour un exemple de travail complet, voir notre <a href="https://github.com/mdn/to-do-notifications/">To-do Notifications</a> app (<a href="http://mdn.github.io/to-do-notifications/">view example live</a>).</p> -<h2 id="Spécification">Spécification</h2> +<h2 id="Spécification">Spécifications</h2> <table class="standard-table"> <tbody> @@ -87,78 +87,11 @@ function addData() { </tbody> </table> -<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité avec les navigateurs</h2> +<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2> -<div>{{CompatibilityTable}}</div> +<p>{{Compat("api.IDBObjectStore.transaction")}}</p> -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>Support basique</td> - <td>23{{property_prefix("webkit")}}<br> - 24</td> - <td>10 {{property_prefix("moz")}}<br> - {{CompatGeckoDesktop("16.0")}}</td> - <td>10, en partie</td> - <td>15</td> - <td>7.1</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Fonctionnalité</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Support basique</td> - <td>4.4</td> - <td>{{CompatGeckoMobile("22.0")}}</td> - <td>1.0.1</td> - <td>10</td> - <td>22</td> - <td>8</td> - </tr> - <tr> - <td>Disponible dans workers</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("37.0")}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<h2 id="Voir_aussi">Voir aussi</h2> +<h2 id="See_also">Voir aussi</h2> <ul> <li>{{domxref("IndexedDB_API.Using_IndexedDB","Utiliser IndexedDB")}}</li> @@ -167,5 +100,5 @@ function addData() { <li>{{domxref("IDBKeyRange","Définir l'intervalle des clés")}}</li> <li>{{domxref("IDBObjectStore","Accès aux magasins d'objets")}}</li> <li>{{domxref("IDBCursor","Utiliser les curseur")}}</li> - <li>Exemple de référence: <a class="external" href="https://github.com/mdn/to-do-notifications/tree/gh-pages">To-do Notifications</a> (<a class="external" href="http://mdn.github.io/to-do-notifications/">view example live</a>.)</li> + <li>Exemple de référence: <a href="https://github.com/mdn/to-do-notifications/tree/gh-pages">To-do Notifications</a> (<a href="http://mdn.github.io/to-do-notifications/">view example live</a>.)</li> </ul> |