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

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

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

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

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