MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / updateTarget

Function updateTarget

src/TooltipPopoverWrapper.js:309–317  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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) {

Callers

nothing calls this directly

Calls 1

getTargetFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…