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

Function constructor

src/TooltipPopoverWrapper.js:79–99  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

77
78class TooltipPopoverWrapper extends React.Component {
79 constructor(props) {
80 super(props);
81
82 this._targets = [];
83 this.currentTargetElement = null;
84 this.addTargetEvents = this.addTargetEvents.bind(this);
85 this.handleDocumentClick = this.handleDocumentClick.bind(this);
86 this.removeTargetEvents = this.removeTargetEvents.bind(this);
87 this.toggle = this.toggle.bind(this);
88 this.showWithDelay = this.showWithDelay.bind(this);
89 this.hideWithDelay = this.hideWithDelay.bind(this);
90 this.onMouseOverTooltipContent = this.onMouseOverTooltipContent.bind(this);
91 this.onMouseLeaveTooltipContent =
92 this.onMouseLeaveTooltipContent.bind(this);
93 this.show = this.show.bind(this);
94 this.hide = this.hide.bind(this);
95 this.onEscKeyDown = this.onEscKeyDown.bind(this);
96 this.getRef = this.getRef.bind(this);
97 this.state = { isOpen: props.isOpen };
98 this._isMounted = false;
99 }
100
101 componentDidMount() {
102 this._isMounted = true;

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…