MCPcopy Create free account
hub / github.com/NianBroken/Firework_Simulator / setOptionsForSelect

Function setOptionsForSelect

js/script.js:820–822  ·  view source on GitHub ↗
(node, options)

Source from the content-addressed store, hash-verified

818
819 // Populate dropdowns
820 function setOptionsForSelect(node, options) {
821 node.innerHTML = options.reduce((acc, opt) => (acc += `<option value="${opt.value}">${opt.label}</option>`), "");
822 }
823
824 // shell type
825 let options = "";

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected