We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525fa86 commit a1631c7Copy full SHA for a1631c7
README.md
@@ -1,2 +1,33 @@
1
# vue-input-text-to-tags
2
A input component that can create tags for the result display
3
+# install
4
+
5
+ npm install vue-input-text-to-tags --save
6
7
8
+# how to use
9
+ template:
10
+ <text-to-tags :list="list" @change="handleCcChange"></text-to-tags>
11
12
+ script:
13
+ //import
14
+ import TextToTags from 'vue-input-text-to-tags'
15
+ //define
16
+ components:{
17
+ TextToTags
18
+ },
19
+ data(){
20
+ return{
21
+ list:['tag1','tag2']
22
+ }
23
24
+ methods:{
25
+ handleCcChange(list){
26
+ console.log(list)
27
28
29
30
31
32
+# props description
33
+ list: defalut array for the component
0 commit comments