MCPcopy Create free account
hub / github.com/cifertech/DisplayKit / sendToBack

Function sendToBack

app.js:5073–5082  ·  view source on GitHub ↗
(elementId)

Source from the content-addressed store, hash-verified

5071}
5072
5073function sendToBack(elementId) {
5074 const index = elements.findIndex(el => el.id === elementId);
5075 if (index > -1) {
5076 const element = elements.splice(index, 1)[0];
5077 elements.unshift(element);
5078 renderElements();
5079 updateCode();
5080 pushHistory();
5081 }
5082}
5083
5084function refreshActionTargetOptions(el) {
5085 propActionTarget.innerHTML = "";

Callers 1

app.jsFile · 0.85

Calls 3

renderElementsFunction · 0.85
updateCodeFunction · 0.85
pushHistoryFunction · 0.85

Tested by

no test coverage detected