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

Method getSelected

src/Table.js:105–113  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

103 }
104
105 getSelected (name) {
106 let values = [];
107 this.state.data.forEach((d) => {
108 if (d.$checked) {
109 values.push(name ? d[name] : d);
110 }
111 });
112 return values;
113 }
114
115 onBodyScroll (e) {
116 let hc = this.refs.headerContainer;

Callers 1

getSelectedNameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected