dpodium / yii2-colorpicker
A simple yii2 color picker widgent
Package info
github.com/dpodium/yii2-colorpicker
Language:JavaScript
Type:yii2-extension
pkg:composer/dpodium/yii2-colorpicker
0.2
2015-12-28 11:09 UTC
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2026-03-12 22:31:01 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']); ?>```