@mintjamsinc/vue-colors
v1.2.1
Published
A reusable Colors component for Vue.js 2.x used by webtop applications.
Downloads
6
Readme
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
Copyright (c) 2021 MintJams Inc.