@mintjamsinc/vue-colors

1.2.1 • Public • Published

Content Repository 6

vue-colors

A reusable Colors component for Vue.js 2.x used by webtop applications.

UI sample

Installation

npm install --save-dev @mintjamsinc/vue-colors

Usage

<Colors
  ref="colors"
  :multiple="true"
  v-hook="{inserted: onColorsLoad}"/>
import Colors from '@mintjamsinc/vue-colors';

export default {
  components: {
    Colors,
  },
  methods: {
    onColorsLoad() {
      // let ui = vm.$refs.colors.ui;
      // ui.onChanged = function() {};
      // ui.colors = ...
      // ui.selection = ...
    },
  },
}

License

MIT

Copyright (c) 2021 MintJams Inc.

Readme

Keywords

Package Sidebar

Install

npm i @mintjamsinc/vue-colors

Weekly Downloads

2

Version

1.2.1

License

MIT

Unpacked Size

1.41 MB

Total Files

6

Last publish

Collaborators

  • kenichif
  • mintjams-bot