Skip to content

a input component that can create tags for the result display

Notifications You must be signed in to change notification settings

leepyng/vue-input-text-to-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

vue-input-text-to-tags

A input component that can create tags for the result display

Coverage Status

install

npm install vue-input-text-to-tags --save

how to use

template:
	 <text-to-tags :list="list" @change="handleCcChange"></text-to-tags>

script:
	//import
	import TextToTags from 'vue-input-text-to-tags'
	//define
	components:{
		TextToTags
	},
	data(){
		return{
			list:['tag1','tag2']
		}
	}
	methods:{
		handleCcChange(list){
			console.log(list)

		}
	}

props description

list: defalut array for the component

About

a input component that can create tags for the result display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages