vue-currency-input-field

1.0.4 • Public • Published

Vue Currency Input Field

NPM License

Lightweight currency input component for Vue < 5k 😎
Emits the formatted value to parent component

currency-input-field

Usage

npm i vue-currency-input-field

<script setup>
import CurrencyInputField from 'vue-currency-input-field';

const options = {
  currency: '$',
  placeHolder: 'Please enter a number',
};

function handleValueChange(value) {
  //todo value '$123,456'
}
</script>


<template>
<CurrencyInputField :options="options" @value-change="handleValueChange"/>
</template

Contact

Feel free to ping me 💫
connect@giladshohat.com

giladshohat.com

Package Sidebar

Install

npm i vue-currency-input-field

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

3.91 kB

Total Files

4

Last publish

Collaborators

  • gshohat