@github/template-parts
Version:
An implementation of the TemplateInstance proposal (https://github.com/w3c/webcomponents/blob/159b1600bab02fe9cd794825440a98537d53b389/proposals/Template-Instantiation.md)
11 lines • 423 B
TypeScript
import { TemplatePart } from './types.js';
export declare class NodeTemplatePart implements TemplatePart {
expression: string;
constructor(node: Node, expression: string);
get value(): string;
set value(string: string);
get previousSibling(): ChildNode | null;
get nextSibling(): ChildNode | null;
replace(...nodes: Array<string | Node>): void;
}
//# sourceMappingURL=node-template-part.d.ts.map