UNPKG

element-vir

Version:

Heroic. Reactive. Declarative. Type safe. Web components without compromise.

12 lines (11 loc) 603 B
import { type HTMLTemplateResult } from '../../lit-exports/all-lit-exports.js'; import { type HtmlInterpolation, type VerifyHtmlValues } from './html-interpolation.js'; /** * Interprets a template literal as an HTML template which is lazily rendered to the DOM. * * Wraps lit-html's html tagged template and enables interpolations of * `DeclarativeElementDefinition` for tag names. * * @category Element Definition */ export declare function html<const Values extends HtmlInterpolation[]>(inputTemplateStrings: TemplateStringsArray, ...inputValues: VerifyHtmlValues<Values>): HTMLTemplateResult;