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

Method constructor

src/Dropdown.js:52–67  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

50
51class Dropdown extends React.Component {
52 constructor(props) {
53 super(props);
54
55 this.addEvents = this.addEvents.bind(this);
56 this.handleDocumentClick = this.handleDocumentClick.bind(this);
57 this.handleKeyDown = this.handleKeyDown.bind(this);
58 this.removeEvents = this.removeEvents.bind(this);
59 this.toggle = this.toggle.bind(this);
60 this.handleMenuRef = this.handleMenuRef.bind(this);
61 this.handleToggleRef = this.handleToggleRef.bind(this);
62
63 this.containerRef = React.createRef();
64 this.menuRef = React.createRef();
65 this.toggleRef = React.createRef();
66 // ref for DropdownToggle
67 }
68
69 componentDidMount() {
70 this.handleProps();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected