ladybird/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl
2022-09-06 00:27:09 +02:00

17 lines
649 B
Plaintext

#import <DOM/Attribute.idl>
[Exposed=Window, LegacyUnenumerableNamedProperties, NoInstanceWrapper]
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);
};