summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl
blob: cf52b16552ca828af00712f7a66825729c40c272 (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);
};