MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / setAllText

Function setAllText

deployments/desktop/static/desktop.js:1242–1246  ·  view source on GitHub ↗
(selector, values)

Source from the content-addressed store, hash-verified

1240 }
1241
1242 function setAllText(selector, values) {
1243 document.querySelectorAll(selector).forEach((element, index) => {
1244 if (values[index] !== undefined) element.textContent = values[index];
1245 });
1246 }
1247
1248 function setLabelTexts(selector, values) {
1249 document.querySelectorAll(selector).forEach((element, index) => {

Callers 1

applyLocaleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected