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

Method removeEvents

src/Dropdown.js:287–291  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 2

componentWillUnmountMethod · 0.95
handlePropsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected