All Projects → SinanMtl → vue-focus-keyboard

SinanMtl / vue-focus-keyboard

Licence: MIT license
A keyboard component for Vue. Start to write immediately. No input element definition. Plug and play!

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to vue-focus-keyboard

Ally.js
JavaScript library to help modern web applications with accessibility concerns
Stars: ✭ 1,447 (+2196.83%)
Mutual labels:  keyboard, focus
react-material-ui-keyboard
Virtual keyboard for TextField when needed
Stars: ✭ 54 (-14.29%)
Mutual labels:  keyboard
FormToolbar
Simple, movable and powerful toolbar for UITextField and UITextView.
Stars: ✭ 85 (+34.92%)
Mutual labels:  keyboard
KeyboardLayoutHelper
Keyboard layout constraint class for iOS written in Swift to help adapt UIView to the appearing keyboard, so textfields don't get lost underneath it'.
Stars: ✭ 17 (-73.02%)
Mutual labels:  keyboard
PickerButton
PickerButton is subclass of UIButton that presents UIPickerView in UIKeyboard.
Stars: ✭ 41 (-34.92%)
Mutual labels:  keyboard
KeyBoardTool
Keyboard key detection software realized by Qt(Qt实现的键盘按键检测软件)
Stars: ✭ 35 (-44.44%)
Mutual labels:  keyboard
metaKeyboard
turn a common keyboard into a 61-key keyboard for the keyboard shortcut fun like you, I'm a programer, I want to improve coding efficiency
Stars: ✭ 30 (-52.38%)
Mutual labels:  keyboard
mac-terminal-shortcuts
Useful and common terminal shortcuts for macOS
Stars: ✭ 39 (-38.1%)
Mutual labels:  keyboard
Keyboard
Master of keyboard is master of automation (Key remapper implementation in Swift)
Stars: ✭ 45 (-28.57%)
Mutual labels:  keyboard
keeb
The code for a handwired bluetooth keyboard made from two halves, with no wires inbetween.
Stars: ✭ 25 (-60.32%)
Mutual labels:  keyboard
quickey
⚡️ Quickey creates keyboard shortcuts for your web apps
Stars: ✭ 37 (-41.27%)
Mutual labels:  keyboard
keyboard-center
Application for mapping macro keys on Logitech keyboards
Stars: ✭ 37 (-41.27%)
Mutual labels:  keyboard
AppKitFocusOverlay
Add hotkey(s) to display the key focus path for any window in your AppKit application.
Stars: ✭ 42 (-33.33%)
Mutual labels:  focus
keyboard
A terrible terrible soft-keyboard that randomises keys on every press.
Stars: ✭ 17 (-73.02%)
Mutual labels:  keyboard
Chordly
Chordly is a javascript library that may be used to detect and act upon key sequences entered by a user.
Stars: ✭ 14 (-77.78%)
Mutual labels:  keyboard
MyAHKScript
An AutoHotkey script that I use on the daily basis for my PC. Comes with an installer that takes care of everything for you.
Stars: ✭ 22 (-65.08%)
Mutual labels:  keyboard
iOSUtilitiesSource
IOS Utilities Library for Swift
Stars: ✭ 46 (-26.98%)
Mutual labels:  keyboard
steno
Embedded steno firmware + custom steno PCBs
Stars: ✭ 47 (-25.4%)
Mutual labels:  keyboard
hidstream
Streaming HID events in Node.js
Stars: ✭ 52 (-17.46%)
Mutual labels:  keyboard
use-keyboard-shortcut
A custom hook that allows adding keyboard shortcuts to React applications
Stars: ✭ 41 (-34.92%)
Mutual labels:  keyboard

Vue Focus Keyboard

npm version npm

A keyboard component for Vue. Start to write immediately. No input element definition. Plug and play!- Demo

Installation and usage

Install the Vue Focus Keyboard component for your project

npm install vue-focus-keyboard --save

Then, add component into your app

import FocusKeyboard from 'vue-focus-keyboard';

Vue.use(FocusKeyboard)

Use HTML template

<FocusKeyboard></FocusKeyboard>

Props

theme

There are 2 theme in Vue Focus Keyboard. They are dark and light (default: dark). You can use one of them with theme prop.

<FocusKeyboard :theme="light"></FocusKeyboard>

keyboardWidth

Also, you can set keyboard's width.

<FocusKeyboard :keyboardWidth="50%"></FocusKeyboard>

keyboard

You don't like current keyboards? Well, set your custom keyboard layout. You can view default layouts in src/layout.js file

export default {
  data () {
    return {
      customLayout: {
        default: [
          // Normal layout
        ],
        shifted: [
          // Layout when press shift button
        ],
        capsed: [
          // Layout when press capslock button
        ],
        alted: [
          // Layout when press alt button
        ],
        shifted_capsed: [
          // Layout when press shift + capslock button
        ],
        shifted_alted: [
          // Layout when press shift + alt button
        ]
      },
    }
  }
}

Then, set your keyboard.

<FocusKeyboard :keyboard="customLayout"></FocusKeyboard>

License

MIT.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].