From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- files/pt-br/web/api/domstringlist/index.html | 43 ++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 files/pt-br/web/api/domstringlist/index.html (limited to 'files/pt-br/web/api/domstringlist') 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 +--- +

{{ APIRef("DOM") }}

+ +

Um tipo retornado por algumas APIs, que contém uma lista de DOMString (strings).

+ +

Propriedades

+ +
+
{{domxref("DOMStringList.length")}} {{ReadOnlyInline}}
+
Retorna o número de itens da lista
+
+ +

Métodos

+ +
+
{{domxref("DOMStringList.item()")}}
+
Retorna uma {{domxref("DOMString")}}.
+
{{domxref("DOMStringList.contains()")}}
+
Retorna {{jsxref("Boolean")}} indicando se a string em questão está na lista
+
+ +

Especificações

+ + + + + + + + + + + + + + + + +
EspecificaçãoStatusComentário
{{SpecName("HTML WHATWG", "common-dom-interfaces.html#the-domstringlist-interface", "DOMStringList")}}{{Spec2("HTML WHATWG")}}Especificação Inicial
-- cgit v1.2.3-54-g00ecf