UNPKG

@tempots/dom

Version:

Fully-typed frontend framework alternative to React and Angular

13 lines (12 loc) 480 B
import { TemplateEngine } from '@tempots/render'; import { DOMContext } from '../dom/dom-context'; import { DOM_RENDERABLE_TYPE } from '../types/domain'; /** * DOM-specific template engine for cloneNode(true) optimization. * * Builds templates programmatically (no innerHTML) to avoid HTML parser * normalization issues with elements like `<tr>`, `<td>`, etc. * * @internal */ export declare const domTemplateEngine: TemplateEngine<DOMContext, typeof DOM_RENDERABLE_TYPE>;