UNPKG

taggedjs

Version:

tagged template reactive html

11 lines (10 loc) 614 B
import { Context, TagTemplate } from '../tag/Tag.class.js'; import { Counts, InterpolateComponentResult, Template } from './interpolateTemplate.js'; import { Support } from '../tag/Support.class.js'; export type InterpolateOptions = { counts: Counts; }; /** Review elements within an element */ export declare function interpolateElement(fragment: DocumentFragment, template: Template, // element containing innerHTML to review interpolations context: Context, // variables used to evaluate interpolatedTemplates: TagTemplate, ownerSupport: Support, options: InterpolateOptions): InterpolateComponentResult[];