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

8.4.2 • Public • Published

@just-web/browser-keyboard

NPM version NPM downloads

@just-web/browser-keyboard provides browser specific implementation for @just-web/keyboard.

Install

# npm
npm install @just-web/browser-keyboard

# yarn
yarn add @just-web/browser-keyboard

# pnpm
pnpm install @just-web/browser-keyboard

#rush
rush add -p @just-web/browser-keyboard

Usage

import { justApp } from '@just-web/app'
import { commandsGizmoFn } from '@just-web/commands'
import { keyboardGizmoFn } from '@just-web/keyboard'
import { osGizmo } from '@just-web/os'
import { browserKeyboardGizmo } from '@just-web/browser-keyboard'

const app = await justApp({ name: 'your-awesome-app' })
  .with(commandsGizmoFn())
  .with(keyboardGizmoFn())
  .with(osGizmo)
  .with(browserKeyboardGizmo)
  .create()

To-do

  • Listen to key bindings change and add new key bindings

Dependents (0)

Package Sidebar

Install

npm i @just-web/browser-keyboard

Weekly Downloads

3

Version

8.4.2

License

MIT

Unpacked Size

30.1 kB

Total Files

52

Last publish

Collaborators

  • unional