Skip to content
This repository has been archived by the owner on Feb 17, 2018. It is now read-only.

tonybolzan/yii-colorpicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ColorPicker for Yii

The color picker widget is implemented based this jQuery plugin: https://github.com/laktek/really-simple-color-picker

Demo: http://www.laktek.com/2008/10/27/really-simple-color-picker-in-jquery

This widget is more useful as a textfield (the default mode)

Example:

    ...
        $this->widget('ext.colorpicker.ColorPicker', array(
            'model' => $model,
            'attribute' => 'color',
            'options' => array( // Optional
                'pickerDefault' => "ccc", // Configuration Object for JS
            ),
        ));
    ...
        $this->widget('ext.colorpicker.ColorPicker', array(
            'name' => 'color',
        ));
    ...

About

The color picker widget

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published