MCPcopy
hub / github.com/nadbm/react-datasheet / handleContextMenu

Function handleContextMenu

src/DataCell.js:123–128  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

121 }
122
123 handleContextMenu (e) {
124 const { row, col, onContextMenu, cell } = this.props
125 if (!cell.disableEvents) {
126 onContextMenu(e, row, col)
127 }
128 }
129
130 handleKey (e) {
131 const keyCode = e.which || e.keyCode

Callers

nothing calls this directly

Calls 1

onContextMenuFunction · 0.85

Tested by

no test coverage detected