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

Function effectiveSvg

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

Source from the content-addressed store, hash-verified

19};
20
21const effectiveSvg = (strings: TemplateStringsArray, ...values: Array<unknown>) => {
22 const litStatic = getFeature<typeof LitStatic>("LitStatic");
23 const fn = litStatic ? litStatic.svg : svg;
24 return fn(strings, ...values);
25};
26
27const litRender: Renderer = (instance: UI5Element, container: HTMLElement | DocumentFragment) => {
28 let templateResult = instance.render();

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…