vue-numeric icon indicating copy to clipboard operation
vue-numeric copied to clipboard

Feature/raw input callback

Open Shulkin opened this issue 6 years ago • 2 comments

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.

Shulkin avatar Jul 17 '18 01:07 Shulkin

Codecov Report

Merging #75 into master will decrease coverage by 1.95%. The diff coverage is 0%.

Impacted file tree graph

@@           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 data Powered by Codecov. Last update f639863...72409b3. Read the comment docs.

codecov[bot] avatar Jul 17 '18 01:07 codecov[bot]

+1 on this! Would be very useful!

Daniel4Digital avatar Feb 07 '20 17:02 Daniel4Digital