MCPcopy Index your code
hub / github.com/cifertech/DisplayKit / refreshScreenUI

Function refreshScreenUI

app.js:3088–3099  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3086}
3087
3088function refreshScreenUI() {
3089 screenSelect.innerHTML = "";
3090 screens.forEach((scr) => {
3091 const opt = document.createElement("option");
3092 opt.value = scr.id;
3093 opt.textContent = scr.name;
3094 screenSelect.appendChild(opt);
3095 });
3096 if (activeScreenId && screens.some((s) => s.id === activeScreenId)) {
3097 screenSelect.value = activeScreenId;
3098 }
3099}
3100
3101function setActiveScreen(id, push = true) {
3102 const screen = screens.find((s) => s.id === id);

Callers 5

applyStateSnapshotFunction · 0.85
renderUiExamplesFunction · 0.85
setActiveScreenFunction · 0.85
initScreensFunction · 0.85
app.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected