Element UI tags
-Pro Component
The Element UI tags refers to a simple plugin providing a BootstrapVue user interface for managing tags.
Keep reading our Element UI tags examples and learn how to use this plugin.
Initialization
<script>
import TagsInput from '@/components/Inputs/TagsInput'
export default {
components: {
TagsInput
}
}
</script>
Example
<tags-input v-model="inputs.tags" placeholder="Add new tag" class="test"></tags-input>
TagsInput props
PROP NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
value | Array | [] | List of tags |
tagType | String | primary | Tag type (primary/danger etc) |