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

Method onEntering

src/CarouselItem.js:33–39  ·  view source on GitHub ↗
(node, isAppearing)

Source from the content-addressed store, hash-verified

31 }
32
33 onEntering(node, isAppearing) {
34 // getting this variable triggers a reflow
35 const { offsetHeight } = node;
36 this.setState({ startAnimation: true });
37 this.props.onEntering(node, isAppearing);
38 return offsetHeight;
39 }
40
41 onExit(node) {
42 this.setState({ startAnimation: false });

Callers 1

onEnteringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected