@yinta/yinta-fed-component-tags-input
v2.1.0
Published
文本框输入字符回车生成tags
Downloads
2
Keywords
Readme
yinta-fed-component-tags-input
VueJS的标签输入组件,具有自动完成、自定义验证、模板等功能
Install
NPM
npm install @yintatech/yinta-fed-component-tags-input
示例
<template>
<div>
<vue-tags-input
v-model="tag"
:tags="tags"
@tags-changed="newTags => tags = newTags"
/>
</div>
</template>
<script>
import VueTagsInput from '@yintatech/yinta-fed-component-tags-input';
export default {
components: {
VueTagsInput,
},
data() {
return {
tag: '',
tags: [],
};
},
};
</script>