@transtone/vue-tags-input

1.5.10 • Public • Published

Forked copy

This is a forked copy of the original vue-tags-input created by JohMun.

Install

NPM

npm install @kurbar/vue-tags-input --save

Changes

  • Support event.key strings in addOnKey prop.
  • ...

vue-tags-input

A tags input component for VueJs with autocompletion, custom validation, templating and much more

Demo & Docs

Features

  • No dependencies
  • Custom validation rules
  • Hooks: Before adding, Before deleting ...
  • Edit tags after creation
  • Fast setup
  • Works with Vuex
  • Small size: 26kb minified | gzipped 9kb
  • Autocompletion
  • Many customization options
  • Own templates
  • Delete tags on backslash
  • Add tags on paste
  • Examples & Docs

Install

NPM

npm install @johmun/vue-tags-input --save

CDN

<script src="https://unpkg.com/@johmun/vue-tags-input/dist/vue-tags-input.js"></script>

Usage

<template>
  <div>
    <vue-tags-input
      v-model="tag"
      :tags="tags"
      @tags-changed="newTags => tags = newTags"
    />
  </div>
</template>
<script>
import VueTagsInput from '@johmun/vue-tags-input';

export default {
  components: {
    VueTagsInput,
  },
  data() {
    return {
      tag: '',
      tags: [],
    };
  },
};
</script>

License

MIT

Copyright (c) 2018 Johannes Munari

Package Sidebar

Install

npm i @transtone/vue-tags-input

Weekly Downloads

0

Version

1.5.10

License

MIT

Unpacked Size

1.8 MB

Total Files

65

Last publish

Collaborators

  • transtone