All Projects → ttzshawn → Vue Custom Keyboard

ttzshawn / Vue Custom Keyboard

Licence: mit
A Vue.js component for custom keyboard. (vue自定义键盘组件/车牌号键盘组件)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Custom Keyboard

Manhuaren
vue2.0全家桶,仿漫画人官网(移动端)
Stars: ✭ 18 (-30.77%)
Mutual labels:  webpack
Webpack Deps Tree
Stars: ✭ 23 (-11.54%)
Mutual labels:  webpack
Google Music Hotkeys
Browser extension that adds keyboard control to Google / YouTube Music
Stars: ✭ 25 (-3.85%)
Mutual labels:  keyboard
Florisboard
An open-source keyboard for Android which respects your privacy. Currently in early-beta.
Stars: ✭ 882 (+3292.31%)
Mutual labels:  keyboard
Slowquitapps
Add a global delay to Command-Q to stop accidental app quits.
Stars: ✭ 916 (+3423.08%)
Mutual labels:  keyboard
Csgo Map Veto
An application to do map veto for the game Counter-Strike Global Offensive.
Stars: ✭ 24 (-7.69%)
Mutual labels:  webpack
Bundle Cop
🚓 compare webpack stats between branches
Stars: ✭ 18 (-30.77%)
Mutual labels:  webpack
Javascript Fullstack Simple
Follow this tutorial using this link
Stars: ✭ 26 (+0%)
Mutual labels:  webpack
Mastering Angular Starter
Starter Files for the Mastering Angular Series on WintellectNOW
Stars: ✭ 22 (-15.38%)
Mutual labels:  webpack
Rubber Ducky Library For Arduino
An Arduino library that allows you to use a cheap Arduino (Leonardo) as a Rubber Ducky
Stars: ✭ 25 (-3.85%)
Mutual labels:  keyboard
Nepali Romanized Pro
Nepali Romanized Keyboard Layout with installer for macOS
Stars: ✭ 18 (-30.77%)
Mutual labels:  keyboard
Uicookbook
A few recipes and build workflows for UI dev
Stars: ✭ 19 (-26.92%)
Mutual labels:  webpack
Reactjs Portfolio Mern Website
My Portfolio | Full Stack MERN Application
Stars: ✭ 25 (-3.85%)
Mutual labels:  webpack
Postcss Variables Loader
Share variables between CSS and JS with Webpack + HMR
Stars: ✭ 18 (-30.77%)
Mutual labels:  webpack
React Webpack Django
De-coupled ReactJS client for greater flexibility and less black-box Django magic
Stars: ✭ 24 (-7.69%)
Mutual labels:  webpack
Rust Wasm Blob
Softbody physics in Rust with WASM
Stars: ✭ 18 (-30.77%)
Mutual labels:  webpack
Stylefmt Loader
Webpack-loader. Fixes stylelint issues automatically while bundling with Webpack.
Stars: ✭ 24 (-7.69%)
Mutual labels:  webpack
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (+0%)
Mutual labels:  webpack
Subnode.org
SubNode: Social Media App
Stars: ✭ 25 (-3.85%)
Mutual labels:  webpack
Puppy
Starter kit and delivery system for building static prototypes with Twig
Stars: ✭ 25 (-3.85%)
Mutual labels:  webpack

vue-custom-keyboard

A Vue.js component for keyboard

Installation

npm i vue-custom-keyboard --save

Usage

Impoart and use it in a single file component.

<template>
  <VueCustomKeyboard></VueCustomKeyboard>
</template>

<script>
  import VueCustomKeyboard from 'vue-custom-keyboard'
  import 'vue-custom-keyboard/dist/vue-custom-keyboard.min.css'

  export default {
    name: 'componentWithKeyboard',
    components: {
        VueCustomKeyboard
    }
  }
</script>

Props config

props: {
  /**
   * Visibility for keyboard.
   * @default false
   * @type {Boolean}
   */
  isOpen: {
    type: Boolean,
    default: true
  },
  level1: {
    type: String,
    default: '粤京津泸鲁冀云辽黑湘皖新苏浙赣鄂桂甘晋蒙陕吉闽贵青藏川宁琼豫渝台港澳'
  },
  level2: {
    type: String,
    default: '1234567890QWERTYUPASDFGHJKLZXCVBNM'
  },
  maxLength: {
    type: Number,
    default: 7
  },
  onChange: {
    type: Function
  },
  onBlur: {
    type: Function
  },
  onDone: {
    type: Function
  },
  /**
   * For remembering previous value.
   * @default ''
   * @type {String}
   */
  defaultValue: {
    type: String,
    default: ''
  }
}

Demo

Check vue-custom-keyboard-demo and show case below.

Show case

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