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

Function end

test/jasmine/assets/drag.js:130–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128 }
129
130 function end() {
131 var iN = path.length - 1;
132 var xN = path[iN][0];
133 var yN = path[iN][1];
134
135 var _opts = extendOpts({element: dragCoverNode});
136
137 if(opts.touch) {
138 touchEvent('touchend', xN, yN, _opts);
139 } else {
140 mouseEvent('mouseup', xN, yN, _opts);
141 }
142
143 return opts.noCover || waitForDragCoverRemoval();
144 }
145
146 return {
147 start: start,

Callers

nothing calls this directly

Calls 3

extendOptsFunction · 0.85
mouseEventFunction · 0.85
waitForDragCoverRemovalFunction · 0.85

Tested by

no test coverage detected