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

Function appendClosingTag

packages/main/test/pages/diffable-html.js:2110–2117  ·  view source on GitHub ↗
(attributes, closeWith)

Source from the content-addressed store, hash-verified

2108 };
2109
2110 var appendClosingTag = function (attributes, closeWith) {
2111 if (Object.keys(attributes).length <= 1) {
2112 appendClosingTagOnSameLine(closeWith);
2113
2114 return;
2115 }
2116 appendClosingTagOnNewLine(closeWith);
2117 };
2118
2119 var render = function () {
2120 return elements.join('');

Callers 1

formatFunction · 0.85

Calls 2

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…