Input Number
A web component, which enhance the input wth formating feature based on the locale
provided. or the browsers locale.
Formating is done based on Internationalization standards
#
Installation#
NPM module#
CDN#
UsageSee Section for Detailed Examples
#
APIThis Supports all the attributes supported by standard HTMLInputElement
.
There are few custom attributes also supported.
Attriubutes | Type | Default |
---|---|---|
locale | String | Browser's Locale navigator.language |
decimalDigits | String | 2 |