mirror of
https://github.com/tenrok/maska.git
synced 2026-05-15 11:59:38 +03:00
488a52f760
Allow string passing to set a mask without data-maska attribute
8 lines
118 B
Svelte
8 lines
118 B
Svelte
<script lang="ts">
|
|
import { maska } from '../../src/svelte'
|
|
</script>
|
|
|
|
<main>
|
|
<input use:maska={'#-#'} />
|
|
</main>
|