nxkit
Version:
This is a collection of tools, independent of any other libraries
16 lines (15 loc) • 639 B
TypeScript
import { NodeList, Attribute } from './node';
import * as el from './element';
export declare class NamedNodeMap extends NodeList {
readonly ownerElement: el.Element;
constructor(owner: el.Element);
getNamedItem(key: string): Attribute | null;
setNamedItem(node: Attribute): Attribute | null;
setNamedItemNS(node: Attribute): Attribute | null;
private _findNodeIndex;
private _add;
removeItem(node: Attribute): any;
removeNamedItem(key: string): void;
getNamedItemNS(namespaceURI: string, localName: string): Attribute | null;
removeNamedItemNS(namespaceURI: string, localName: string): void;
}