Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
behavior.on('start', d => {
this.dragging = true
// silence other listeners
d3Selection.event.sourceEvent.stopPropagation()
totalDisplacement = { x: 0, y: 0 }
startFn(d)
})
this.selectableMousedown = d => {
// stop propogation for the buildinput to work right
d3Selection.event.stopPropagation()
// this.parentNode.__data__.wasSelected = d3Select(this.parentNode).classed('selected')
// d3Select(this.parentNode).classed('selected', true)
}
this.selectableClick = function (d) {
.on('click', function () {
d3Selection.event.stopPropagation();
});
},
const d3GetEvent = function(){return require("d3-selection").event}.bind(this);
import * as utils from './utils';
.on('mousemove', function () {
d3Selection.event.stopPropagation();
})
.on('click', function () {
.on('mouseout', function () {
$(this).siblings().hide();
d3.event.stopPropagation();
});
const d3GetEvent = () => { return require("d3-selection").event };
import { Mark } from './Mark';
d3.getEvent = () => require("d3-selection").event;
Object.defineProperty(d3, 'event', { get: () => require('d3-selection').event });