beholdr / maska

Simple zero-dependency input mask for Vue, Svelte, Alpine.js and vanilla JS.

Home Page:https://beholdr.github.io/maska/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How in Vue 3 (Composition API) set options and bind object

russeljo opened this issue · comments

I use composition API in VUE3
How to combine this 2 things:

<input v-maska="bindedObject">

<input v-maska:[options]>

No examples in docs

You can do it like this:

<input v-maska:[options]="bindedObject">

Added in docs too. Thank you.