vue-numeric
vue-numeric copied to clipboard
Feature/raw input callback
Added a function to handle the raw input value before formatting.
It can be very useful to remove some characters before formatting. For example, change a period to a comma. Because sometimes both symbols can be used as a separator. Or do any change to input depending on external conditions.
Codecov Report
Merging #75 into master will decrease coverage by
1.95%. The diff coverage is0%.
@@ Coverage Diff @@
## master #75 +/- ##
=======================================
- Coverage 97.95% 96% -1.96%
=======================================
Files 1 1
Lines 49 50 +1
Branches 20 21 +1
=======================================
Hits 48 48
- Partials 1 2 +1
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/vue-numeric.vue | 96% <0%> (-1.96%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update f639863...72409b3. Read the comment docs.
+1 on this! Would be very useful!