MCPcopy Index your code
hub / github.com/plotly/plotly.js / assertEvent

Function assertEvent

test/jasmine/tests/gl2d_plot_interact_test.js:697–700  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

695 }
696
697 function assertEvent(e) {
698 expect(e.defaultPrevented).toEqual(true);
699 relayoutCallback();
700 }
701
702 gd.addEventListener('touchstart', assertEvent);
703 gd.addEventListener('wheel', assertEvent);

Callers

nothing calls this directly

Calls 1

relayoutCallbackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…