🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@solid-primitives/keyboard

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/keyboard - npm Package Compare versions

Comparing version
1.3.3
to
1.3.4
+2
-2
package.json
{
"name": "@solid-primitives/keyboard",
"version": "1.3.3",
"version": "1.3.4",
"description": "A library of reactive promitives helping handling user's keyboard input.",

@@ -52,3 +52,3 @@ "author": "Damian Tarnwski <gthetarnav@gmail.com>",

"dependencies": {
"@solid-primitives/event-listener": "^2.4.3",
"@solid-primitives/event-listener": "^2.4.4",
"@solid-primitives/rootless": "^1.5.2",

@@ -55,0 +55,0 @@ "@solid-primitives/utils": "^6.3.2"

@@ -172,3 +172,3 @@ <p>

When `preventDefault` is `true`, `e.preventDefault()` will be called not only on the keydown event that have triggered the callback, but it will **optimistically** also prevend the default behavior of every previous keydown that will have the possibility to lead to the shotcut being pressed.
When `preventDefault` is `true`, `e.preventDefault()` will be called not only on the keydown event that has triggered the callback, but it will **optimistically** also prevent the default behavior of every previous keydown that will have the possibility to lead to the shortcut being pressed.

@@ -175,0 +175,0 @@ E.g. when listening for `Control + Shift + A`, all three keydown events will be prevented.