Module @just-web/browser-keyboard

@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 { createApp } from '@just-web/app'
import keyboardPlugin from '@just-web/keyboard'
import commandsPlugin from '@just-web/commands'
import osPlugin from '@just-web/os'
import browserKeyboadrPlugin from '@just-web/browser-keyboard'

createApp({ name: 'your-awesome-app' })
.extend(keyboardPlugin())
.extend(commandsPlugin())
.extend(osPlugin())
.extend(browserKeyboardPlugin())

To-do

  • Listen to key bindings change and add new key bindings

Index

Functions

Generated using TypeDoc