@just-web/keyboard
v7.3.2
Published
just-web keyboard plugin module
Readme
@just-web/keyboard
@just-web/keyboard provides functionality about keyboards:
- ✅ Key bindings: shortcuts for all platforms.
- 💡 Key stroke simulation
- 💡 Virtual Keyboard
- 💡 Key stroke capture and display
Install
# npm
npm install @just-web/keyboard
# yarn
yarn add @just-web/keyboard
# pnpm
pnpm install @just-web/keyboard
#rush
rush add -p @just-web/keyboardUsage
import { justApp } from '@just-web/app'
import { keyboardGizmoFn } from '@just-web/keyboard'
const app = await justApp({ name: 'your-awesome-app' })
.with(keyboardGizmoFn())
.create()
app.keyboard.keyBindingContributionsIt provides a keyBindingContributions to register key bindings.
Typically, you don't need to use it directly.
Instead, use command() from @just-web/command.
