1.2.1 • Published 4 years ago

@mintjamsinc/vue-colors v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

vue-colors

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

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.