taggedjs
Version:
tagged template reactive html
10 lines (9 loc) • 606 B
TypeScript
import { Counts } from '../interpolations/interpolateTemplate.js';
import { AnySupport } from './AnySupport.type.js';
import { ContextItem } from './Context.types.js';
/** Function that kicks off actually putting tags down as HTML elements */
export declare function buildBeforeElement(support: AnySupport, counts: Counts, appendTo?: Element, insertBefore?: Text): {
context: ContextItem[];
dom: import("../interpolations/optimizers/ObjectNode.types.js").DomObjectChildren;
};
export declare function addOneContext(value: unknown, context: ContextItem[], withinOwnerElement: boolean): ContextItem;