Vue-Tags
A Flexible Vue.js 2 input Tag component where you can edit wathever you like related to HTML/CSS.
Installation :
Getting Started
In your script entry point:
Usage
Just add the tags as a v-model and follow the code above just don't change the vuejs attributes and the others is your choice do wathever you want with them.
Props
By Default The tag is added
when you click the Enter Key
but you can customize it by adding addKey
prop with array of KeyCodes of your choice.
You can have it here.
For Example ['188','13']
for Comma ,
and Enter Key
By Default The tag is deleted
when you click delete Key
but you can customize it by adding deleteKey
prop with array of KeyCodes of your choice.
You can have it here.
For Example ['13']
for Enter key
Now When we click Enter
we delete the tag