Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
handleDocumentClick
Method · 0.95
handleKeyDown
Method · 0.95
onClick
Method · 0.45
handleBackdropClick
Function · 0.45
handleEscape
Function · 0.45
onClick
Method · 0.45
onMouseOverTooltipContent
Function · 0.45
show
Function · 0.45
hide
Function · 0.45
toggle
Function · 0.45
handleBackdropClick
Function · 0.45
handleEscape
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected