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

Function destroy

src/Modal.js:392–399  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

390 }
391
392 destroy() {
393 if (this._element) {
394 this._mountContainer.removeChild(this._element);
395 this._element = null;
396 }
397
398 this.manageFocusAfterClose();
399 }
400
401 manageFocusAfterClose() {
402 if (this._triggeringElement) {

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…