Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jhon-henkel/vue-money-mask-directive

Directive mask for currency for vue.js
https://github.com/jhon-henkel/vue-money-mask-directive

currency currency-mask directive ionic ionic-money-mask mask mask-currency mask-money money money-mask vue3 vuejs

Last synced: 2 months ago
JSON representation

Directive mask for currency for vue.js

Awesome Lists containing this project

README

        

## Vue Money Mask Directive

Just copy and register directive and use in your project. The examples of use are in the specific folder of use (Ionic or Options).

I make some changes on files to work with ionic and vue 3 options api.

Register directive example:
``` ts
import { createApp } from 'vue'
import App from './App.vue'
import moneyMask from './directives/moneyMask'

const app = createApp(App)
app.directive('money', moneyMask)
```

## Credits

https://github.com/vuejs-tips/v-money