MCPcopy
hub / github.com/apache/echarts / setInputsState

Function setInputsState

test/lib/testHelper.js:672–687  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

670 }
671
672 function setInputsState(state) {
673 var changedCreatedList = [];
674 for (var id in state) {
675 if (state.hasOwnProperty(id)) {
676 var inputCreated = findInputCreatedAndCheck(id, {log: true});
677 if (!inputCreated) {
678 continue;
679 }
680 if (shouldPrevent(id, NANES_PREVENT_INPUTS_STATE) || !inputCreated.setState) {
681 continue;
682 }
683 inputCreated.setState(state[id]);
684 changedCreatedList.push(inputCreated);
685 }
686 }
687 }
688
689 function getInputsState() {
690 var result = {};

Callers 1

Calls 2

findInputCreatedAndCheckFunction · 0.85
shouldPreventFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…