@nicholai/numeric-keyboard

Numeric keyboard component for Vue

Usage no npm install needed!

<script type="module">
  import nicholaiNumericKeyboard from 'https://cdn.skypack.dev/@nicholai/numeric-keyboard';
</script>

README

Numeric Keyboard

Build Status npm package

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.

snapshot

Table of contents

Installation

You can install it via npm

npm i numeric-keyboard

Usage

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

Configuration

Please refer to the original module for any other configuration or customisation needs.

Contributing

Contributions are welcome. Submit issue or PR.

License

Licensed under the MIT license.