This is a directly pluggable Vue component for viclm/numeric-keyboard, without modifying your configurations. This package is not complete yet. Use at your own discretion.
You can install it via npm
npm i numeric-keyboard
<template>
<div class="input">
<label>Amount: </label>
<NumericInput placeholder="touch to input" v-model="amount" />
</div>
</template>
<script>
import { NumericInput } from 'numeric-keyboard'
export default {
components: {
NumericInput
},
data () {
return {
amount: ''
}
}
}
</script>
Please refer to the original module for any other configuration or customisation needs.
Contributions are welcome. Submit issue or PR.
Licensed under the MIT license.