MCPcopy Create free account
hub / github.com/Lobos/react-ui / bindClickAway

Method bindClickAway

src/mixins/ClickAway.js:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 }
15
16 bindClickAway () {
17 const fn = this.getClickAwayEvent();
18 Events.on(document, 'click', fn);
19 Events.on(document, 'touchstart', fn);
20 }
21
22 unbindClickAway () {
23 const fn = this.getClickAwayEvent();

Callers 4

showTipMethod · 0.80
showOptionsFunction · 0.80
openFunction · 0.80
openMethod · 0.80

Calls 1

getClickAwayEventMethod · 0.80

Tested by

no test coverage detected