@just-web/keyboard
TypeScript icon, indicating that this package has built-in type declarations

7.2.4 • Public • Published

@just-web/keyboard

NPM version NPM downloads

@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/keyboard

Usage

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.keyBindingContributions

It provides a keyBindingContributions to register key bindings.

Typically, you don't need to use it directly. Instead, use command() from @just-web/command.

Readme

Keywords

Package Sidebar

Install

npm i @just-web/keyboard

Weekly Downloads

4

Version

7.2.4

License

MIT

Unpacked Size

24.4 kB

Total Files

32

Last publish

Collaborators

  • unional