Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface 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.

Hierarchy

  • NamedNodeMap

Indexable

[index: number]: Attr

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

Properties

Readonly length

length: number

Methods

getNamedItem

  • getNamedItem(qualifiedName: string): Attr | null
  • Parameters

    • qualifiedName: string

    Returns Attr | null

getNamedItemNS

  • getNamedItemNS(namespace: string | null, localName: string): Attr | null
  • Parameters

    • namespace: string | null
    • localName: string

    Returns Attr | null

item

  • item(index: number): Attr | null
  • Parameters

    • index: number

    Returns Attr | null

removeNamedItem

  • removeNamedItem(qualifiedName: string): Attr
  • Parameters

    • qualifiedName: string

    Returns Attr

removeNamedItemNS

  • removeNamedItemNS(namespace: string | null, localName: string): Attr
  • Parameters

    • namespace: string | null
    • localName: string

    Returns Attr

setNamedItem

  • Parameters

    Returns Attr | null

setNamedItemNS

  • setNamedItemNS(attr: Attr): Attr | null
  • Parameters

    Returns Attr | null

Generated using TypeDoc