1.0.3 • Published 5 years ago

v-number-panel v1.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
5 years ago

v-number-panel

A Vue directive for entering numbers and additional characters with a virtual keyboard.

Demo

Installation

npm i v-number-panel --save

Usage

The Simplest Way

<input type="text" v-number-panel>

with Additional inputs

You can input additional character(s).

<!-- HTML -->
<input type="text" v-number-panel="numberPanelOptions">

// JS
new Vue({
    el: '#app',
    data: {
        numberPanelOptions: {
            extraInputs: {
                '-': 'Dash',
                '*': 'Asterisk'
            },
            clear: true // Clear when focus
        }
    }
});

License

This package is licensed under the MIT License.

Copyright 2018 Sukohi Kuhoh

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago