1.0.5 • Published 3 years ago

zm-one-colorpicker v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

one-colorpicker

A Chrome-style ColorPicker

img

Install

$ npm install one-colorpicker

Quick Start

import {ColorPicker, ColorPanel} from 'one-colorpicker'

Vue.use(ColorPanel)
Vue.use(ColorPicker)

Props

value

bind v-model return string, eg: '#f90', 'rgba(0, 255, 255, .4)'

<color-panel v-model="color"></color-panel>

Events

change

<color-picker v-model="color" @change="change"></color-picker>

Build Setup

generated by vue-cli

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.

License

Copyright (c) 2018 One View Licensed under the MIT license.

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago