vue-one-simple-colorpicker
v1.0.4
Published
A simple Vue.js Color Picker
Downloads
2
Readme
vue-one-simplecolorpicker
A simple colorpicker for Vue JS!
Installation
$ npm install --save vue-one-simple-colorpicker
main.js
import colorpicker from 'vue-one-simple-colorpicker';
import Vue from "vue";
Vue.use(colorpicker);
Usage in Component (Vue) v-model can be hexadecimal, rgb/rgba or css text color.
<template>
<color-picker v-model="color"/>
</template>
<script>
export default {
data(){
return {
color: 'red'
}
}
}
</script>
License
MIT