MCPcopy Create free account
hub / github.com/UI5/webcomponents / effectiveHtml

Function effectiveHtml

packages/base/src/renderer/LitRenderer.ts:15–19  ·  view source on GitHub ↗
(strings: TemplateStringsArray, ...values: Array<unknown>)

Source from the content-addressed store, hash-verified

13import type { Renderer } from "../UI5Element.js";
14
15const effectiveHtml = (strings: TemplateStringsArray, ...values: Array<unknown>) => {
16 const litStatic = getFeature<typeof LitStatic>("LitStatic");
17 const fn = litStatic ? litStatic.html : html;
18 return fn(strings, ...values);
19};
20
21const effectiveSvg = (strings: TemplateStringsArray, ...values: Array<unknown>) => {
22 const litStatic = getFeature<typeof LitStatic>("LitStatic");

Callers

nothing calls this directly

Calls 1

getFeatureFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…