@nextcloud/dialogs
    Preparing search index...

    Interface NamedNodeMap

    The NamedNodeMap interface represents a collection of Attr objects.

    MDN Reference

    interface NamedNodeMap {
        length: number;
        getNamedItem(qualifiedName: string): null | Attr;
        getNamedItemNS(namespace: null | string, localName: string): null | Attr;
        item(index: number): null | Attr;
        removeNamedItem(qualifiedName: string): Attr;
        removeNamedItemNS(namespace: null | string, localName: string): Attr;
        setNamedItem(attr: Attr): null | Attr;
        setNamedItemNS(attr: Attr): null | Attr;
        [index: number]: Attr;
    }

    Indexable

    • [index: number]: Attr
    Index

    Properties

    length: number

    The read-only length property of the NamedNodeMap interface is the number of objects stored in the map.

    MDN Reference

    Methods

    • The getNamedItem() method of the NamedNodeMap interface returns the Attr corresponding to the given name, or null if there is no corresponding attribute.

      MDN Reference

      Parameters

      • qualifiedName: string

      Returns null | Attr

    • The getNamedItemNS() method of the NamedNodeMap interface returns the Attr corresponding to the given local name in the given namespace, or null if there is no corresponding attribute.

      MDN Reference

      Parameters

      • namespace: null | string
      • localName: string

      Returns null | Attr

    • The item() method of the NamedNodeMap interface returns the item in the map matching the index.

      MDN Reference

      Parameters

      • index: number

      Returns null | Attr

    • The removeNamedItem() method of the NamedNodeMap interface removes the Attr corresponding to the given name from the map.

      MDN Reference

      Parameters

      • qualifiedName: string

      Returns Attr

    • The removeNamedItemNS() method of the NamedNodeMap interface removes the Attr corresponding to the given namespace and local name from the map.

      MDN Reference

      Parameters

      • namespace: null | string
      • localName: string

      Returns Attr

    • The setNamedItem() method of the NamedNodeMap interface puts the Attr identified by its name in the map.

      MDN Reference

      Parameters

      Returns null | Attr

    • The setNamedItemNS() method of the NamedNodeMap interface puts the Attr identified by its name in the map.

      MDN Reference

      Parameters

      Returns null | Attr