MCPcopy Index your code
hub / github.com/reactstrap/reactstrap / toggle

Method toggle

src/Dropdown.js:293–299  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

291 }
292
293 toggle(e) {
294 if (this.props.disabled) {
295 return e && e.preventDefault();
296 }
297
298 return this.props.toggle(e);
299 }
300
301 render() {
302 const {

Callers 12

handleDocumentClickMethod · 0.95
handleKeyDownMethod · 0.95
onClickMethod · 0.45
handleBackdropClickFunction · 0.45
handleEscapeFunction · 0.45
onClickMethod · 0.45
showFunction · 0.45
hideFunction · 0.45
toggleFunction · 0.45
handleBackdropClickFunction · 0.45
handleEscapeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected