pattern-formatter

1.0.0 • Public • Published

Input Formatter

NPM Downloads

How to use

Init with PatternFormatter.init() and set a data-alias attribute.

<script type="module">
  import PatternFormatter from "./PatternFormatter.js";
  PatternFormatter.init();
</script>
<p>Integer input</p>
<input type="text" class="formatter" data-alias="int" />

Package Sidebar

Install

npm i pattern-formatter

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

31.6 kB

Total Files

8

Last publish

Collaborators

  • lekoala