MCPcopy Create free account
hub / github.com/reactstrap/reactstrap / getCurrentTarget

Function getCurrentTarget

src/TooltipPopoverWrapper.js:202–207  ·  view source on GitHub ↗
(target)

Source from the content-addressed store, hash-verified

200 }
201
202 getCurrentTarget(target) {
203 if (!target) return null;
204 const index = this._targets.indexOf(target);
205 if (index >= 0) return this._targets[index];
206 return this.getCurrentTarget(target.parentElement);
207 }
208
209 show(e) {
210 if (!this.props.isOpen) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…