MCPcopy
hub / github.com/Pomax/react-onclickoutside / handleClickOutside

Function handleClickOutside

test/test.js:150–156  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

148
149 var clickOutsideHandled = false;
150 var handleClickOutside = function(event) {
151 if (event === undefined) {
152 throw new Error('event cannot be undefined');
153 }
154
155 clickOutsideHandled = true;
156 };
157
158 var WrappedWithCustomHandler = wrapComponent(Component);
159

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected