()
| 307 | } |
| 308 | |
| 309 | updateTarget() { |
| 310 | const newTarget = getTarget(this.props.target, true); |
| 311 | if (newTarget !== this._targets) { |
| 312 | this.removeTargetEvents(); |
| 313 | this._targets = newTarget ? Array.from(newTarget) : []; |
| 314 | this.currentTargetElement = this.currentTargetElement || this._targets[0]; |
| 315 | this.addTargetEvents(); |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | toggle(e) { |
| 320 | if (this.props.disabled || !this._isMounted) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…