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

Function assertEvent

test/jasmine/tests/gl3d_plot_interact_test.js:839–842  ·  view source on GitHub ↗
(e, passive)

Source from the content-addressed store, hash-verified

837 var relayoutCallback = jasmine.createSpy('relayoutCallback');
838
839 function assertEvent(e, passive) {
840 expect(e.defaultPrevented).not.toEqual(passive);
841 relayoutCallback();
842 }
843
844 gd.addEventListener('touchend', function(e) { assertEvent(e, true); });
845 gd.addEventListener('touchstart', function(e) { assertEvent(e, true); });

Callers 1

Calls 1

relayoutCallbackFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…