@uscreen-video/v-color

Simple color picker for vue@2

Usage no npm install needed!

<script type="module">
  import uscreenVideoVColor from 'https://cdn.skypack.dev/@uscreen-video/v-color';
</script>

README

v-color

Simple color picker for vue@2





Install

With npm:

npm install --save @uscreen-video/v-color

Or with yarn:

yarn add @uscreen-video/v-color

Props

value – Color string in hex, rgba or hsla format

type: string

default value: ''


withSuggestions – Enables colors suggestions which stores in local storage. Picker remembers 7 last colors

type: boolean

default value: true

Events

input – Emits on each color change