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

Function clickaway

src/Modal.js:98–103  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

96 }
97
98 clickaway (event) {
99 if (event.target.className === 'rct-modal-inner') {
100 event.stopPropagation();
101 PubSub.publish(CLICKAWAY);
102 }
103 }
104
105 renderModals () {
106 let modalLength = this.state.modals.length;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…