An open API service indexing awesome lists of open source software.

https://github.com/kasseltrankos/vue-js-input-number

very simple and even stupid implementation of input with maxlength and ONLY NUMBERs with vuejs
https://github.com/kasseltrankos/vue-js-input-number

add addons html5 input number simple vuejs

Last synced: 23 days ago
JSON representation

very simple and even stupid implementation of input with maxlength and ONLY NUMBERs with vuejs

Awesome Lists containing this project

README

          

# Input Number

This is a very very simple component for input type number. It allows:

1 - only numbers from 0-9

2 - add maxlength property

This two simple add-ons to the input type number of HTML 5, gives to me a reason to create it.

Simple example.

```html


{{test}}


```

```javascript
new Vue({
el: '#app',
data: {
test: 12
},
components: {
'input-number': inputNumber
}
});
```