MCPcopy Index your code
hub / github.com/bqplot/bqplot / d3GetEvent

Function d3GetEvent

js/src/utils.ts:116–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114}
115
116export function d3GetEvent() {
117 // In JupyterLab we can have require('d3-selection').event
118 // be a different module as the one that is used in d3.on
119 // leading to a null event, for now we can use window.event as fallback.
120 return require('d3-selection').event || window.event;
121}
122
123// Phosphor shim for ipywidgets 7 support
124export function getLuminoWidget(ipywidget: DOMWidgetView) {

Callers 15

handleClickMethod · 0.90
barClickHandlerMethod · 0.90
boxClickHandlerMethod · 0.90
dragstartedMethod · 0.90
draggedMethod · 0.90
dragendedMethod · 0.90
click_handlerMethod · 0.90
convert_and_saveMethod · 0.90
convert_and_saveMethod · 0.90
reset_handlerMethod · 0.90
multi_brush_moveMethod · 0.90
multi_brush_endMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…