@i18n-components/input-number
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha.0 • Public • Published

@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" />

Package Sidebar

Install

npm i @i18n-components/input-number

Weekly Downloads

3

Version

0.1.0-alpha.0

License

MIT

Unpacked Size

47.7 kB

Total Files

8

Last publish

Collaborators

  • apurvojas