🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

one-colorpicker

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

one-colorpicker

chrome-style colorpicker vuejs

latest
npmnpm
Version
1.0.12
Version published
Weekly downloads
617
-2.06%
Maintainers
1
Weekly downloads
 
Created
Source

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.

FAQs

Package last updated on 16 Jul 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts