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

Function setMarkWhenChecked

InteractiveHtmlBom/web/ibom.js:1105–1114  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

1103}
1104
1105function setMarkWhenChecked(value) {
1106 writeStorage("markWhenChecked", value);
1107 settings.markWhenChecked = value;
1108 markedFootprints.clear();
1109 for (var ref of (value ? getStoredCheckboxRefs(value) : [])) {
1110 markedFootprints.add(ref);
1111 }
1112 populateBomTable();
1113 drawHighlights();
1114}
1115
1116function prepCheckboxes() {
1117 var table = document.getElementById("checkbox-stats");

Callers 2

setBomCheckboxesFunction · 0.85
createOptionFunction · 0.85

Calls 5

writeStorageFunction · 0.85
getStoredCheckboxRefsFunction · 0.85
populateBomTableFunction · 0.85
drawHighlightsFunction · 0.85
addMethod · 0.80

Tested by

no test coverage detected