Is it possible to determine whether the Shift key is pressed during a mousedown d3.event? if possible could show me a way to do this, try looking in the API, but could not find something useful
You should be able to use something like this:
d3.select(window).on("click", function() { if (d3.event.shiftKey) { alert("Mouse+Shift pressed"); } });
Demo: http://jsfiddle.net/SO_AMK/NTGKG/1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With