DOMStringList

js.html.DOMStringList (extern class)

A type returned by some APIs which contains a list of DOMString (strings).

Documentation DOMStringList by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

length: Int

Returns the length of the list,


item(index: Int): String

Returns a DOMString.

Name Type
index Int
Returns
String

contains(string: String): Bool

Returns Boolean indicating if the given string is in the list

Name Type
string String
Returns
Bool