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

Function isLeftClickEvent

docs/lib/ReactRouter.js:1758–1760  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

1756 var oneOfType = _React$PropTypes.oneOfType;
1757
1758 function isLeftClickEvent(event) {
1759 return event.button === 0;
1760 }
1761
1762 function isModifiedEvent(event) {
1763 return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);

Callers 1

ReactRouter.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…