(event)
| 40 | }, |
| 41 | |
| 42 | handleClick(event) { |
| 43 | var checkbox = this.refs.input |
| 44 | if (event.target !== checkbox) |
| 45 | { |
| 46 | event.preventDefault() |
| 47 | checkbox.focus() |
| 48 | checkbox.click() |
| 49 | return |
| 50 | } |
| 51 | |
| 52 | if (!('checked' in this.props)) { |
| 53 | this.setState({checked: checkbox.checked}) |
| 54 | } |
| 55 | }, |
| 56 | |
| 57 | handleFocus() { |
| 58 | this.setState({hasFocus: true}) |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…