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

Method handleChange

src/Rating.js:72–83  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

70 }
71
72 handleChange (val) {
73 this.setValue(val);
74 this.setState({ wink: true });
75 setTimeout(() => {
76 this.setState({ wink: false });
77 }, 1000);
78 setTimeout(() => {
79 if (this.props.onChange) {
80 this.props.onChange(val);
81 }
82 });
83 }
84
85 getHandle () {
86 let items = [],

Callers

nothing calls this directly

Calls 2

setValueMethod · 0.95
onChangeMethod · 0.80

Tested by

no test coverage detected