summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl
blob: eee7762de3eaa82233dad0042fd22d6aba40925e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#import <DOM/Attribute.idl>

[Exposed=Window, LegacyUnenumerableNamedProperties]
interface NamedNodeMap {
    readonly attribute unsigned long length;

    getter Attribute? item(unsigned long index);
    getter Attribute? getNamedItem(DOMString qualifiedName);
    // Attribute? getNamedItemNS(DOMString? namespace, DOMString localName);

    [CEReactions] Attribute? setNamedItem(Attribute attr);
    // [CEReactions] Attribute? setNamedItemNS(Attribute attr);

    [CEReactions] Attribute removeNamedItem(DOMString qualifiedName);
    // [CEReactions] Attribute removeNamedItemNS(DOMString? namespace, DOMString localName);
};