You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

vue-input-tag

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-input-tag

Vue.js input tag editor component

1.0.0
Source
npmnpm
Version published
Weekly downloads
3K
-2.3%
Maintainers
1
Weekly downloads
 
Created
Source

vue-input-tag

A Vue.js 2.0 input tag component inspired in react-tagsinput

Codeship Coverage Status bitHound Overall Score bitHound Dependencies bitHound Code Version License Monthly Downloads

Logo

Installation

npm install vue-input-tag --save

and in your component:

import InputTag from 'vue-input-tag'

Usage

<input-tag :on-change="callbackMethod" :tags="tagsArray"></input-tag>

Props

NameTypeDefaultDescription
tagsArray[]Tags to be render in the input
placeholderString""Placeholder to be shown when no tags
read-onlyBooleanfalseSet input to readonly
limitString or Number-1 (none)Set a limit for the amount of tags
on-changeFunctionundefinedCallback to get the tags when there is a change
validateString""Apply certain validator for user input. Choose from email, url, text, digits or isodate

This project was built with generator-vue-component ❤️

Keywords

input

FAQs

Package last updated on 29 Jan 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts