MCPcopy
hub / github.com/plotly/plotly.js / testDraggers

Function testDraggers

test/jasmine/tests/config_test.js:451–458  ·  view source on GitHub ↗
(len)

Source from the content-addressed store, hash-verified

449 afterEach(destroyGraphDiv);
450
451 function testDraggers(len) {
452 [
453 'nw', 'ne', 'sw', 'se', 'ew', 'w', 'e', 'ns', 'n', 's'
454 ].forEach(function(dir) {
455 var draggers = document.getElementsByClassName('drag ' + dir + 'drag');
456 expect(draggers.length).toBe(len, dir);
457 });
458 }
459
460 it('should have drag rectangles cursors by default', function(done) {
461 Plotly.newPlot(gd, mockCopy.data, {})

Callers 1

config_test.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…