1.0.4 • Published 10 months ago

pinteger v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

:fire: pInteger Directive :

The pinteger directive is designed for Vue.js, and it facilitates the conversion of Persian or Arabic numbers to English numbers.

:rocket: How to use :

  1. Using npm, install the pinteger package:
 npm install pinteger
  1. Import the package into your main.js file:
import pinteger from 'pinteger' ;
  1. In your main.js, after createApp(App), add the following code to register the directive:
app.directive('pinteger', pinteger);
  1. Now you can use this directive in Vue.js:

    I. Simple usage:

    <input type="text" v-model="myNumber" v-pinteger >

    II. Usage with Vuetify:

    <v-text-field
        v-model="myNumber"
        v-pinteger
        label="myNumber"
        >
    </v-text-field>

:memo: Authors

  • Email: Amirhosseinagahee22@gmail.com
1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago