MCPcopy Create free account
hub / github.com/breck7/scroll / dragDisable

Function dragDisable

external/.d3.js:2647–2656  ·  view source on GitHub ↗
(view)

Source from the content-addressed store, hash-verified

2645}
2646
2647function dragDisable(view) {
2648 var root = view.document.documentElement,
2649 selection = select(view).on("dragstart.drag", noevent$2, nonpassivecapture);
2650 if ("onselectstart" in root) {
2651 selection.on("selectstart.drag", noevent$2, nonpassivecapture);
2652 } else {
2653 root.__noselect = root.style.MozUserSelect;
2654 root.style.MozUserSelect = "none";
2655 }
2656}
2657
2658function yesdrag(view, noclick) {
2659 var root = view.document.documentElement,

Callers 2

mousedownedFunction · 0.85
startedFunction · 0.85

Calls 1

selectFunction · 0.85

Tested by

no test coverage detected