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

Function litRender

packages/base/src/renderer/LitRenderer.ts:27–35  ·  view source on GitHub ↗
(instance: UI5Element, container: HTMLElement | DocumentFragment)

Source from the content-addressed store, hash-verified

25};
26
27const litRender: Renderer = (instance: UI5Element, container: HTMLElement | DocumentFragment) => {
28 let templateResult = instance.render();
29 const openUI5Enablement = getFeature<typeof OpenUI5Enablement>("OpenUI5Enablement");
30 if (openUI5Enablement) {
31 templateResult = openUI5Enablement.wrapTemplateResultInBusyMarkup(effectiveHtml, instance, templateResult as TemplateResult);
32 }
33
34 render(templateResult as TemplateResult, container, { host: instance });
35};
36
37const scopeTag = (tag: string, tags: Array<string>, suffix: string) => {
38 const litStatic = getFeature<typeof LitStatic>("LitStatic");

Callers

nothing calls this directly

Calls 4

getFeatureFunction · 0.85
renderFunction · 0.50
renderMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…