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
- Host: GitHub
- URL: https://github.com/kasseltrankos/vue-js-input-number
- Owner: kasselTrankos
- Created: 2017-12-28T19:56:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-29T20:03:44.000Z (over 8 years ago)
- Last Synced: 2025-03-18T21:29:53.378Z (about 1 year ago)
- Topics: add, addons, html5, input, number, simple, vuejs
- Language: JavaScript
- Homepage: https://jsfiddle.net/cckLd9te/439/
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
}
});
```