VueJS Colorpicker ⚡️
-
A simple Vue.js colorpicker 🔴 for custom need.
-
This is on GitHub so let me know if I've b0rked it somewhere, give me a star ⭐️ if you like it 🍻
Requirements
- Vue.js 2.x
✅ Install 👌
npm install vuejs-colorpicker// oryarn add vuejs-colorpicker
✅ Usage 🎓
Register the component globally:
Vue;
Or use locally
;
✅ Example 🍀
Vue;
✅ Props 📖
Name | Type | Description |
---|---|---|
colors |
Array | (required) The colors to be sent to the picker, see eg. for how to send it. |
icon |
String | (optional) Default is inverted large checkmark icon ; Refer Semantic-UI Icons for specifying which icons you want. |
✅ Events 👂
Name | Description |
---|---|
selected-color |
Emits color_code hex. |