Skip to main content
Module

x/evt/lib/types/lib.dom.ts>DOMStringList

💧EventEmitter's typesafe replacement
Go to Latest
interface DOMStringList
import { type DOMStringList } from "https://deno.land/x/evt@v2.3.1/lib/types/lib.dom.ts";

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

Index Signatures

[index: number]: string

Properties

readonly
length: number

Returns the number of strings in strings.

Methods

contains(string: string): boolean

Returns true if strings contains string, and false otherwise.

item(index: number): string | null

Returns the string with index index from strings.