MCPcopy Create free account
hub / github.com/TruthHun/BookStack / drag_

Function drag_

static/editor.md/lib/codemirror/lib/codemirror.js:3379–3381  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

3377 on(d.wrapper, "scroll", function() { d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });
3378
3379 function drag_(e) {
3380 if (!signalDOMEvent(cm, e)) e_stop(e);
3381 }
3382 if (cm.options.dragDrop) {
3383 on(d.scroller, "dragstart", function(e){onDragStart(cm, e);});
3384 on(d.scroller, "dragenter", drag_);

Callers

nothing calls this directly

Calls 1

signalDOMEventFunction · 0.70

Tested by

no test coverage detected