You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use ctrl+tab in my electronjs app. So it is not a browser to interrupt with tab changing shortcut. However when I'm inside a text area it doesn't fire at all. Other shortcuts without tab do. How do I bind the whole document ?
<script>
Mousetrap.bind(['command+tab', 'ctrl+tab'], function() {
alert('command tab or control tab);
// return false to prevent default browser behavior
// and stop event from bubbling
return false;
});
</script>
The text was updated successfully, but these errors were encountered:
I want to use ctrl+tab in my electronjs app. So it is not a browser to interrupt with tab changing shortcut. However when I'm inside a text area it doesn't fire at all. Other shortcuts without tab do. How do I bind the whole document ?
The text was updated successfully, but these errors were encountered: