Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@i18n-components/input-number

i18n-components11MIT0.1.0-alpha.0TypeScript support: included

Web component to format input number based on locale

format, format-currency, currency, input, input-number, i18n, locale

readme

@i18n-components/input-number

Web component to format input number based on locale.

Usage Vanilla Javascript HTML

<!DOCTYPE html>
<html>
  <head>
    <title>Input Number</title>
    <meta charset="UTF-8" />
  </head>

  <body>
    <script src="https://unpkg.com/@i18n-components/input-number@latest/dist/index.js"></script>

    <input type="tel" is="i18n-input-number" />
  </body>
</html>

Usage React/Angular/Vue

npm i @i18n-components/input-number
// Import IIFE
import '@i18n-components/input-number';

//Use in your component
<input type="tel" is="i18n-input-number" />

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

0.1.0-alpha.0 (2020-12-20)

Features

  • input-number: added attribute change call back for decimaldigits attribute fix #6 (d53b54a)
  • input-number: added attribute change call back for decimaldigits attribute re #6 (b1c5158)
  • input-number: added attribute change call back for locale attribute re #6 (209367f)
  • input-number: added attribute change call back for value attribute fix #6 (f4601eb)

0.0.1-alpha.1 (2020-11-21)

Note: Version bump only for package @i18n-components/input-number

0.0.1-alpha.0 (2020-11-21)

Note: Version bump only for package @i18n-components/input-number