MCPcopy Create free account
hub / github.com/Lobos/react-ui / getChecked

Method getChecked

src/Tree/Item.js:95–103  ·  view source on GitHub ↗
(list, greedy)

Source from the content-addressed store, hash-verified

93 }
94
95 getChecked (list, greedy) {
96 let checked = greedy ? 1 : 2;
97 if (this.state.status >= checked) {
98 list.push(this.props.data);
99 }
100 forEach(this.refs, function (ref) {
101 ref.getChecked(list, greedy);
102 });
103 }
104
105 renderCheckbox () {
106 let { selectAble } = this.props;

Callers 2

getValueFunction · 0.80
react.jsFile · 0.80

Calls 1

forEachFunction · 0.90

Tested by

no test coverage detected