aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/namelist
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/fr/web/api/namelist
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/fr/web/api/namelist')
-rw-r--r--files/fr/web/api/namelist/index.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/files/fr/web/api/namelist/index.html b/files/fr/web/api/namelist/index.html
new file mode 100644
index 0000000000..9003767ee3
--- /dev/null
+++ b/files/fr/web/api/namelist/index.html
@@ -0,0 +1,52 @@
+---
+title: NameList
+slug: Web/API/NameList
+tags:
+ - API
+ - DOM
+ - Obsolete
+translation_of: Web/API/NameList
+---
+<div>{{APIRef("DOM")}} {{ obsolete_header("10.0") }}</div>
+
+<div class="note">
+<p><strong>Note:</strong> Bien que cette interface ait été précédemment implémentée dans Gecko, il n'y avait aucun moyen d'en créer une. <code>NameList</code> a été supprimé, en vigueur avec {{ Gecko("10.0") }}</p>
+</div>
+
+<p>L'interface <code><strong>NameList</strong></code> fournit une abstraction pour une collection ordonnée de paires de valeurs de nom et d'espace de noms. Les éléments sont accessibles par un index basé sur 0. La spécification DOM ne spécifie pas comment la collection doit être implémentée.</p>
+
+<h2 id="Propriétés">Propriétés</h2>
+
+<dl>
+ <dt>{{domxref("NameList.length")}} {{readonlyInline}}</dt>
+</dl>
+
+<h2 id="Méthodes">Méthodes</h2>
+
+<dl>
+ <dt>{{domxref("NameList.contains()")}}</dt>
+ <dd>Renvoie un {{jsxref("Boolean")}}.</dd>
+ <dt>{{domxref("NameList.containsNS()")}}</dt>
+ <dd>Renvoie un {{jsxref("Boolean")}}.</dd>
+ <dt>{{domxref("NameList.getName()")}}</dt>
+ <dd>Renvoie un {{domxref("DOMString")}}.</dd>
+ <dt>{{domxref("NameList.getNamespaceURI()")}}</dt>
+ <dd>Renvoie un {{domxref("DOMString")}}.</dd>
+</dl>
+
+<h2 id="Spécifications">Spécifications</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th>Spécification</th>
+ <th>Statut</th>
+ <th>Commentaire</th>
+ </tr>
+ <tr>
+ <td>{{SpecName("DOM3 Core", "core.html#NameList", "NameList")}}</td>
+ <td>{{Spec2("DOM3 Core")}}</td>
+ <td>Définition initiale.</td>
+ </tr>
+ </tbody>
+</table>