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

Function onClosed

src/Offcanvas.js:227–241  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

225 }
226
227 onClosed(node) {
228 const { unmountOnClose } = this.props;
229 // so all methods get called before it is unmounted
230 this.props.onClosed();
231 (this.props.offcanvasTransition.onExited || noop)(node);
232
233 if (unmountOnClose) {
234 this.destroy();
235 }
236 this.close();
237
238 if (this._isMounted) {
239 this.setState({ isOpen: false });
240 }
241 }
242
243 setFocus() {
244 if (

Callers

nothing calls this directly

Calls 1

onClosedMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…