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

Function setText

deployments/desktop/static/desktop.js:1237–1240  ·  view source on GitHub ↗
(selector, value)

Source from the content-addressed store, hash-verified

1235 }
1236
1237 function setText(selector, value) {
1238 const element = document.querySelector(selector);
1239 if (element) element.textContent = value;
1240 }
1241
1242 function setAllText(selector, values) {
1243 document.querySelectorAll(selector).forEach((element, index) => {

Callers 1

applyLocaleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected