MCPcopy Create free account
hub / github.com/spicetify/cli / onChangeStatus

Function onChangeStatus

jsHelper/homeConfig.js:132–137  ·  view source on GitHub ↗
(item, status)

Source from the content-addressed store, hash-verified

130 }
131
132 function onChangeStatus(item, status) {
133 container.remove();
134 const isToggle = statusDic[item.dataset.uri] === status;
135 statusDic[item.dataset.uri] = isToggle ? NORMAL : status;
136 appendItems();
137 }
138
139 for (const el of elem) {
140 el.onmouseover = () => {

Callers 1

injectInteractionFunction · 0.70

Calls 1

appendItemsFunction · 0.70

Tested by

no test coverage detected