Socket
Socket
Sign inDemoInstall

vue-colorizer-tag

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    vue-colorizer-tag

Vue.js colorizer tag component


Version published
Maintainers
1
Install size
5.42 kB
Created

Readme

Source

Vue Colorizer Tag Component

Vue Colorizer Tag Component offers the colorful tags to the Vue developers usage.

primary

success

warning

info

danger


Install

npm install vue-colorizer-tag

What Can Be Done

The Vue developers can get the Vue Colorizer Tag Component and give a empty String data as a param to manage the tags. And also can send a theme as a param. The themes list;

Primary

Secondary

Danger

Success

Info

Warning


Example

How to import;

import Tag from 'vue-colorizer-tag'

export default {
    components: {
            appTag: Tag,
    },
    data() {
        return {
            tags: 'vue.js,node.js',
        }
    },
}

How to use;

    <div class="container">
        <app-tag v-model='tags' color='success' />
        {{tags}}
    </div>

Options

OptionDescription
v-modelString data
colorString theme
@emit-errorFunc to catch error

Catch Error Option

    ...
    methods: {
        errorCatch (e) {
            console.error(e);
        }
    }
    <app-tag v-model='tags' @emit-error='errorCatch($event)' />

Keywords

FAQs

Last updated on 05 Mar 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc