MCPcopy Create free account
hub / github.com/ElemeFE/element-react / setChecked

Method setChecked

src/tree/model/tree-store.js:278–284  ·  view source on GitHub ↗
(data, checked, deep)

Source from the content-addressed store, hash-verified

276 }
277
278 setChecked(data, checked, deep) {
279 const node = this.getNode(data);
280
281 if (node) {
282 node.setChecked(!!checked, deep);
283 }
284 }
285
286 getCurrentNode() {
287 return this.currentNode;

Callers 4

_setCheckedKeysMethod · 0.45
traverseMethod · 0.45

Calls 1

getNodeMethod · 0.95

Tested by

no test coverage detected