Skip to content

Currency โ€‹

...

Browser support โ€‹

...

Parameters โ€‹

Content

The parametrization of the component can be done with the following custom HTML params:

NameTypeDescription
localestringThe locale to be used. If not set, the default locale of the browser will be used.
valuenumberThe value to be displayed in the currency format.
currencystringThe currency to be used for formatting the value.
decimalsnumberThe number of decimals to be displayed.

Playground โ€‹

Customization โ€‹

HTML Examples โ€‹

Imports
Code