A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://dm4t2.github.io/vue-currency-input/config.html below:

Configuration | Vue Currency Input

Configuration #

The following options can be passed as an object literal to the useCurrencyInput function.

currency #

A ISO 4217 currency code, for example "USD" or "EUR". This option is required.

locale #

A BCP 47 language tag (for example "en" or "de-DE"). Default is undefined (use the default locale of the Browser).

currencyDisplay #

How to display the currency in currency formatting. Possible values are:

accountingSign #

Whether to use accounting sign formatting, for example wrapping negative values with parentheses instead of prepending a minus sign.

autoDecimalDigits #

Whether the decimal symbol is inserted automatically, using the last inputted digits as decimal digits. Default is false (the decimal symbol needs to be inserted manually).

precision #

The number of displayed decimal digits. Default is undefined (use the currency's default, decimal digits will be hidden for integer numbers). Must be between 0 and 15 and can only be applied for currencies that support decimal digits. You can also pass an object {min, max} to use a precision range.

hideCurrencySymbolOnFocus #

Whether to hide the currency symbol on focus. Default is true.

hideGroupingSeparatorOnFocus #

Whether to hide the grouping separator on focus. Default is true.

hideNegligibleDecimalDigitsOnFocus #

Whether to hide negligible decimal digits on focus. Default is true.

valueScaling #

Applies a scaling to the exported value. Possible values are:

valueRange #

The range of accepted values as object {min, max}. Default is undefined (no value range). The validation is triggered on blur and automatically sets the respective threshold if out of range.

useGrouping #

Whether to use grouping separators such as thousands/lakh/crore separators.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4