# vue-color-picker-wheel
**Repository Path**: drs-github-accelerates-dedicated/vue-color-picker-wheel
## Basic Information
- **Project Name**: vue-color-picker-wheel
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-21
- **Last Updated**: 2021-06-28
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Vue Color Picker Wheel
A Vue color picker component based on the Farbtastic jQuery Color Picker plug-in.
# Demo
## Basic
Basic CodePen demo
# Installation
```
npm install --save vue-color-picker-wheel
```
# Usage
ES6 modules
```HTML
```
CommonJS
```JavaScript
const ColorPicker = require('vue-color-picker-wheel');
```
In a script tag, this loads the component using the global Vue instance.
```HTML
```
# Properties
| Property | Description | Type | Default | Example |
| ---------- | ------------------------------------------------------- | ----------------------- | ------- | -------------------- |
| width | The width of the color picker | Number | 300 | :width="400" |
| height | The height of the color picker | Number | 300 | :height="400" |
| disabled | Whether or not the color picker should be disabled | Boolean | false | :disabled="false" |
| v-model | v-model to create two-way data binding for color | String (hex color code) | none | v-model="color" |
| startColor | The color that is selected when opening the colorpicker | String (hex color code) | none | startColor="#ffffff" |
# Events
| Event | Description | Event parameters |
| ------------ | --------------------------------------------- | ------------------------------ |
| color-change | Is fired after the selected color has changed | color: String (hex color code) |
# Contributing
Checkout [GitHub issues](https://github.com/stijlbreuk/vue-color-picker-wheel/issues) for any issues we need some help with.
```bash
# Serve with hot reload (default at localhost:8080)
vue serve --open src/color-picker.vue
# Build all variants
npm run build
```
# Changelog
[Changelog on Github](https://github.com/stijlbreuk/vue-color-picker-wheel/blob/master/CHANGELOG.md)
# License
[MIT](https://github.com/stijlbreuk/vue-color-picker-wheel/blob/master/LICENSE)