UNPKG

@github/template-parts

Version:

An implementation of the TemplateInstance proposal (https://github.com/w3c/webcomponents/blob/159b1600bab02fe9cd794825440a98537d53b389/proposals/Template-Instantiation.md)

23 lines 865 B
import { TemplatePart } from './types.js'; export declare class AttributeTemplatePart implements TemplatePart { expression: string; constructor(setter: AttributeValueSetter, expression: string); get attributeName(): string; get attributeNamespace(): string | null; get value(): string | null; set value(value: string | null); get element(): Element; get booleanValue(): boolean; set booleanValue(value: boolean); } export declare class AttributeValueSetter { element: Element; attr: Attr; partList: Array<string | AttributeTemplatePart>; constructor(element: Element, attr: Attr); get booleanValue(): boolean; set booleanValue(value: boolean); append(part: string | AttributeTemplatePart): void; updateParent(partValue: string | null): void; } //# sourceMappingURL=attribute-template-part.d.ts.map