dpodium/yii2-colorpicker

A simple yii2 color picker widgent

Installs: 8 966

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 5

Forks: 0

Open Issues: 0

Language:JavaScript

Type:yii2-extension

0.2 2015-12-28 11:09 UTC

This package is auto-updated.

Last update: 2024-12-12 19:38:23 UTC


README

This widget is based on jQuery plugin by Stefan Petre (http://www.eyecon.ro/colorpicker/)

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist dpodium/yii2-colorpicker "*"

or add

"dpodium/yii2-colorpicker": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?= \dpodium\colorpicker\ColorPickerWidget::widget(['id' => 'color-picker', 'name' => 'color-picker']); ?>```