diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:52 -0500 |
commit | 074785cea106179cb3305637055ab0a009ca74f2 (patch) | |
tree | e6ae371cccd642aa2b67f39752a2cdf1fd4eb040 /files/pt-br/web/api/domstringlist | |
parent | da78a9e329e272dedb2400b79a3bdeebff387d47 (diff) | |
download | translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.gz translated-content-074785cea106179cb3305637055ab0a009ca74f2.tar.bz2 translated-content-074785cea106179cb3305637055ab0a009ca74f2.zip |
initial commit
Diffstat (limited to 'files/pt-br/web/api/domstringlist')
-rw-r--r-- | files/pt-br/web/api/domstringlist/index.html | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/files/pt-br/web/api/domstringlist/index.html b/files/pt-br/web/api/domstringlist/index.html new file mode 100644 index 0000000000..48547f3d67 --- /dev/null +++ b/files/pt-br/web/api/domstringlist/index.html @@ -0,0 +1,43 @@ +--- +title: DOMStringList +slug: Web/API/DOMStringList +translation_of: Web/API/DOMStringList +--- +<p>{{ APIRef("DOM") }}</p> + +<p>Um tipo retornado por algumas APIs, que contém uma lista de <a class="internal" href="/En/DOM/DOMString" title="En/DOM/DOMString">DOMString</a> (strings).</p> + +<h2 id="Propriedades">Propriedades</h2> + +<dl> + <dt>{{domxref("DOMStringList.length")}} {{ReadOnlyInline}}</dt> + <dd>Retorna o número de itens da lista</dd> +</dl> + +<h2 id="Métodos">Métodos</h2> + +<dl> + <dt>{{domxref("DOMStringList.item()")}}</dt> + <dd>Retorna uma {{domxref("DOMString")}}.</dd> + <dt>{{domxref("DOMStringList.contains()")}}</dt> + <dd>Retorna {{jsxref("Boolean")}} indicando se a string em questão está na lista</dd> +</dl> + +<h2 id="Specifications" name="Specifications">Especificações</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Especificação</th> + <th scope="col">Status</th> + <th scope="col">Comentário</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{SpecName("HTML WHATWG", "common-dom-interfaces.html#the-domstringlist-interface", "DOMStringList")}}</td> + <td>{{Spec2("HTML WHATWG")}}</td> + <td>Especificação Inicial</td> + </tr> + </tbody> +</table> |