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

Function onChange

src/Filter.js:98–105  ·  view source on GitHub ↗
(index, filter)

Source from the content-addressed store, hash-verified

96 }
97
98 onChange (index, filter) {
99 let filters = this.state.filters,
100 f = filters[index];
101 Object.keys(filter).forEach((k) => {
102 f[k] = filter[k];
103 });
104 this.setState({ filters });
105 }
106
107 onFilter () {
108 this.close();

Callers 2

handleChangeMethod · 0.85
handleChangeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…