How can I catch when user press Ctrl click ?
I can do it for single click using:
<input ng-click="some_function()"/>
but I need something like:
<input ng-CTRL-click="some_nice_function()"/>
Is that possible?
HTML
<input ng-click="some_function($event)"/>
JS
$scope.some_function = function(event){ if (event.ctrlKey) { // logic here } }
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