Numeric Keyboard For Vue.js

Numeric Keyboard For Vue.js

A mobile-friendly numeric keyboard (keypad) component for Vue.js.

vue-numkeyboard

vue number keyboard for mobile

NPM version Build Status

Install

npm install vue-numkeyboard

Usage

import numkeyboard from 'vue-numkeyboard';
import 'vue-numkeyboard/style.css';

Vue.use(numkeyboard);

<numkeyboard v-model="num" ok-text="OK" text-align="left"></numkeyboard>

Props

attribute type default required desc
expose-elem String current input element false raise page height if expose elemenet is covered by keyboard
point Boolean true false show digital point
ok-text String OK false ok button text
text-align String '' false start inputing from left or right
placeholder String '' false placeholder

MIT Licence

Github Repository

Tags: #VueJs