Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-localshortcut

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-localshortcut - npm Package Compare versions

Comparing version 0.3.2 to 0.4.0

2

package.json

@@ -13,3 +13,3 @@ {

],
"version": "0.3.2",
"version": "0.4.0",
"main": "src/index.js",

@@ -16,0 +16,0 @@ "author": "andrea@parro.it",

@@ -81,4 +81,16 @@ # electron-localshortcut

### `disableAll(window)`
* `window` BrowserWindow instance
Disable all of the shortcuts registered on the BrowserWindow instance.
Registered shortcuts no more works on the `window` instance, but the module keep a reference on them. You can reactivate them later by calling `enableAll` method on the same window instance.
### `enableAll(window)`
* `window` BrowserWindow instance
Enable all of the shortcuts registered on the BrowserWindow instance that you had previously disabled calling `disableAll` method.
## Global shortcuts

@@ -85,0 +97,0 @@

@@ -145,3 +145,5 @@ 'use strict';

isRegistered: isRegistered,
unregisterAll: unregisterAll
unregisterAll: unregisterAll,
enableAll: registerAllShortcuts,
disableAll: unregisterAllShortcuts
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc