MCPcopy Create free account
hub / github.com/openscopeproject/InteractiveHtmlBom / setBomCheckboxState

Function setBomCheckboxState

InteractiveHtmlBom/web/ibom.js:189–193  ·  view source on GitHub ↗
(checkbox, element, references)

Source from the content-addressed store, hash-verified

187}
188
189function setBomCheckboxState(checkbox, element, references) {
190 var state = getCheckboxState(checkbox, references);
191 element.checked = (state == "checked");
192 element.indeterminate = (state == "indeterminate");
193}
194
195function createCheckboxHandlers(input, checkbox, references, row) {
196 var clickHandler = () => {

Callers 1

populateBomBodyFunction · 0.85

Calls 1

getCheckboxStateFunction · 0.85

Tested by

no test coverage detected