1.3.4 • Published 5 years ago

@pderas/vue2-moola v1.3.4

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Vue Moola

A vue 2 component for a money mask input.

How to initialize Vue Moola

Vue moola is built as a vue plugin. It can be initialized just as the Vue documentation states.

import Moola from "@pderas/vue2-moola";

Vue.use(Moola);

Usage

Creation

Vue moola is easily created, and has many properties that can be changed.

<moola value="0"></moola>

Properties

PropertyRequiredTypeDefaultDescription
delimiterfalseString','A character to separate the numbers thousands by. (e.i. '1,000')
maxfalseNumberNumber.MAX_SAFE_INTEGERThe max value for the input
minfalseNumberNumber.MIN_SAFE_INTEGERThe min value for the input
nullablefalseBooleanfalseSets the default empty value to either 0 or null
precisionfalseNumber2Amount of decimals to allow
prefixfalseString'$'A prefix for the input (can be set to null)
suffixfalseStringnullA suffix for the input (e.i. '%')
valuefalseNumber|String0Value for the input, can be used with v-model

License

This project is covered under the MIT License. Feel free to use it wherever you like.

1.3.4

5 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.5

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago