10 examples of 'onemouseclick' in JavaScript

Every line of 'onemouseclick' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
215function mouseup() {
216 var button = d3_event.button;
217 var endTime = d3_event.timeStamp;
218 var startTime = down[button] || endTime;
219 var delay = (endTime - startTime < minTime) ? minTime : 0;
220
221 if (button === 0 && !d3_event.ctrlKey) {
222 window.setTimeout(function() {
223 tooltip.classed('leftclick', false);
224 down[button] = undefined; // delayed, for Windows
225 }, delay);
226
227 dispatch.call('click', this, 'left');
228
229 } else if (button === 2) {
230 window.setTimeout(function() {
231 tooltip.classed('rightclick', false);
232 down[button] = undefined; // delayed, for Windows
233 }, delay);
234
235 dispatch.call('click', this, 'right');
236
237 } else {
238 window.setTimeout(function() {
239 down[button] = undefined; // delayed, for Windows
240 }, delay);
241 }
242}
40mouseClick(mouse_x: number, mouse_y: number, button: number, arg:any)
41{
42 if (this.callback != null) this.callback(arg, this.ID);
43}
93eMouseUp (e) {
94 this.isDragging = this.isResizing = false;
95 for (let i = 0; i < this.children.length; i++)
96 this.children[i].eMouseUp(e);
97}
32leftClick() {
33 this._native.leftClick();
34}
289function click(keycode, x, y) {
290 if (keycode === BACKSPACE && !ime.isEmpty()) {
291 ime.back();
292 } else {
293 ime.add(keycode);
294 }
295 keyboard.setUpperCase({
296 isUpperCase: false
297 });
298}
99function handleMouseUp (ev) {
100 handleEvent(buttonState & ~mouse.buttons(ev), ev)
101}
58function onMouseClick(e){
59 var positem = getMousePosition(e);
60 if(positem[1]){
61 var s = positem[1].series;
62 if(s.points.show === false && (!s.lines.show || s.lines.show === false) && s.bars.show === false){
63 placeHolder.trigger("plotclick",positem);
64 }
65 }
66}
41function clickAt(x, y) {
42 if (window.eventSender) {
43 eventSender.mouseMoveTo(x, y);
44 eventSender.mouseDown();
45 eventSender.mouseUp();
46 return true;
47 }
48}
59function mouseClickFunc(e) {
60 if(!e.button) {
61 thisPtr.outlet4.doOutlet("bang");
62 }
63}
273function click(e) {
274 // Disable clicks if carousel was dragged.
275 if (dragged) {
276 e.preventDefault();
277 e.stopPropagation();
278 return false;
279
280 } else if (!options.fullWidth) {
281 var clickedIndex = $(e.target).closest('.carousel-item').index();
282 var diff = (center % count) - clickedIndex;
283
284 // Disable clicks if carousel was shifted by click
285 if (diff !== 0) {
286 e.preventDefault();
287 e.stopPropagation();
288 }
289 cycleTo(clickedIndex);
290 }
291}

Related snippets