This repository has been archived by the owner on Oct 18, 2019. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Find and explain a common use case
The use case is allowing any user to easily add a input managed by the AutoNumeric library, while being sure both Vue and AutoNumeric interacts correctly with each other.
Entering numbers and currencies in a website is a pretty usual use case! You'd better do it with the best mask library around :)
Provide a Demo
You can see the
vue-autonumeric
component in action on the official documentation, and a live editable demo is available here.Document the package
The component documentation is complete and maintained.
Distribution
As described in the doc, you can either use a CDN like
<script src="//unpkg.com/autonumeric"></script>
, or directly import theVueAutonumeric
component (import VueAutonumeric from 'vue-autonumeric';
) after having it installed withnpm install vue-autonumeric --save
.Tests
This is the only thing missing from now, but since I am dogfooding my own library (AutoNumeric and vue-autonumeric), it should be bug-free :)
Visual Quality
This point is moot since the component manages how the
<input>
element reacts to the user input and key strokes, but does not include any CSS nor modify the element appearance.Activity
The component is actively maintained (the same way the AutoNumeric library is) and any issue is and will be dealt with as quickly as possible.