uhtml
Version:
A micro HTML/SVG render
27 lines (26 loc) • 840 B
TypeScript
/** @typedef {Attribute} Attribute */
export default class Attribute extends Node {
constructor(nodeName: any, nodeValue?: string, owner?: null);
set value(any: string);
/** @type {string} */
get value(): string;
/** @type {import("./element.js").default?} */
get ownerElement(): import("./element.js").default | null;
/** @type {string} */
get name(): string;
/** @type {string} */
get localName(): string;
/** @type {string} */
get nodeName(): string;
/** @type {string} */
get nodeValue(): string;
toString(): any;
[ownerElement]: any;
[name]: any;
[value]: string | undefined;
}
export type Attribute = Attribute;
import Node from './node.js';
import { ownerElement } from './symbols.js';
import { name } from './symbols.js';
import { value } from './symbols.js';