()
| 285 | } |
| 286 | |
| 287 | removeEvents() { |
| 288 | ['click', 'touchstart', 'keyup'].forEach((event) => |
| 289 | document.removeEventListener(event, this.handleDocumentClick, true), |
| 290 | ); |
| 291 | } |
| 292 | |
| 293 | toggle(e) { |
| 294 | if (this.props.disabled) { |
no outgoing calls
no test coverage detected