Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uscreentv/v-color

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uscreentv/v-color

> Simple color picker for `vue@2`

  • 1.4.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
2
Weekly downloads
 
Created
Source

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

Components

VColorPicker

This is the main component, which just represents color picker as is.

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

VColorPopover

It includes VColorPicker, but wrapped into popover component with control button and current color preview. Use it when you need to save visual space.

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


position – Popover's position after appearing

type: string

possible values: bottom|left|top|right

default value: bottom

Events


input -> (value: string, suggestion?: boolean) – Emits on each color change or suggestion click

FAQs

Package last updated on 09 Jun 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc