ladybird/Userland/Libraries/LibWeb/DOM/NamedNodeMap.idl
Shannon Booth 285bca1633 LibWeb: Use Optional<FlyString> const& in Element and NamedNodeMap
This is enabled with the newly added IDL generator support for
FlyStrings.
2024-01-03 10:13:47 +01:00

17 lines
698 B
Text

#import <DOM/Attr.idl>
// https://dom.spec.whatwg.org/#interface-namednodemap
[Exposed=Window, LegacyUnenumerableNamedProperties]
interface NamedNodeMap {
readonly attribute unsigned long length;
getter Attr? item(unsigned long index);
getter Attr? getNamedItem([FlyString] DOMString qualifiedName);
Attr? getNamedItemNS([FlyString] DOMString? namespace, [FlyString] DOMString localName);
[CEReactions] Attr? setNamedItem(Attr attr);
[CEReactions] Attr? setNamedItemNS(Attr attr);
[CEReactions] Attr removeNamedItem([FlyString] DOMString qualifiedName);
[CEReactions] Attr removeNamedItemNS([FlyString] DOMString? namespace, [FlyString] DOMString localName);
};