loading... Pacem JS

Numeric Input

PacemInputNumberElement is the suggested webcomponent for numeric (plain, w/ unit, currency, ...) editing.

Formattable

PacemInputNumberElement edited value can be formatted given straight attribute or relevant metadata.

[ {"prop": "amount", "type": "float", "dataType": "percentage", "display": { "name": "Progress" }, "validators": [{ "type": "range", "errorMessage": "Nope, you can't", "params": { "min": 0, "max": 1 } }] } ]