Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.NamedNodeMap

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

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.

Index Signatures

[index: number]: Attr

Properties

readonly
length: number

Methods

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