Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Sanshain/svelte-input-mask into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanshain committed Sep 6, 2022
2 parents ad593f7 + 04d3d8e commit 7aaa572
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ Features:
- The minified bundle weighs less than 5kb
- universal validation for any numeric formats

[Demo](https://coding-style.ru/code_reviews/271/edit)

## Using inside Svelte app:

```html
Expand Down Expand Up @@ -39,10 +41,10 @@ export default app
### using prepared bundle:

```html
<link rel="stylesheet" href="https://unpkg.com/svelte-mask@0.2.6/build/css/app.css">
<link rel="stylesheet" href="https://unpkg.com/svelte-mask@latest/build/css/app.css">

<div id="app"></div>
<script src="https://unpkg.com/svelte-mask@0.2.6/build/bundle.js"></script>
<script src="https://unpkg.com/svelte-mask@latest/build/bundle.js"></script>
<script>
createMaskInput('app', '+7(999)9999999')
</script>
Expand Down

0 comments on commit 7aaa572

Please sign in to comment.