Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

NamedNodeMap

A collection of Attr objects. Objects inside a NamedNodeMap are not in any particular order, unlike NodeList, although they may be accessed by an index as in an array.

interface NamedNodeMap {
[index: number]: Attr;
readonly length: number;
[[Symbol.iterator]](): IterableIterator<Attr>;
getNamedItem(qualifiedName: string): Attr | null;
getNamedItemNS(namespace: string | null, localName: string): Attr | null;
item(index: number): Attr | null;
removeNamedItem(qualifiedName: string): Attr;
removeNamedItemNS(namespace: string | null, localName: string): Attr;
setNamedItem(attr: Attr): Attr | null;
setNamedItemNS(attr: Attr): Attr | null;
}
var NamedNodeMap: {
prototype: NamedNodeMap;
new (): NamedNodeMap;
}
;

§Index Signatures

§
[index: number]: Attr

§Properties

§
readonly length: number
[src]

§Methods

§
[[Symbol.iterator]](): IterableIterator<Attr>
[src]
§
getNamedItem(qualifiedName: string): Attr | null
[src]
§
getNamedItemNS(namespace: string | null, localName: string): Attr | null
[src]
§
item(index: number): Attr | null
[src]
§
removeNamedItem(qualifiedName: string): Attr
[src]
§
removeNamedItemNS(namespace: string | null, localName: string): Attr
[src]
§
setNamedItem(attr: Attr): Attr | null
[src]
§
setNamedItemNS(attr: Attr): Attr | null
[src]