Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/Pomax/react-onclickoutside
/ toggleEnableClickOutside
Method
toggleEnableClickOutside
test/test.js:16–22 ·
view source on GitHub ↗
(on)
Source
from the content-addressed store, hash-verified
14
}
15
16
toggleEnableClickOutside(on) {
17
if
(on) {
18
this.props.enableOnClickOutside();
19
}
else
{
20
this.props.disableOnClickOutside();
21
}
22
}
23
24
handleClickOutside(event) {
25
if
(event === undefined) {
Callers
1
test.js
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected