An open API service indexing awesome lists of open source software.

https://github.com/loadingio/ldcolorpicker

Palette-awared Color Picker
https://github.com/loadingio/ldcolorpicker

Last synced: 19 days ago
JSON representation

Palette-awared Color Picker

Awesome Lists containing this project

README

          

![ldcolorpicker Banner](https://loadingio.github.io/ldcolorpicker/img/banner.png)

Palette-Aware Color Picker. [Demo + docs here](http://loadingio.github.io/ldcolorpicker/).

Features:
* Load palette on the fly
* Share palette across pickers
* vanilla JS / jQuery / AngularJS compatible
* highly configurable

Usage
--------

Download and include [dist/ldcp.min.js](https://raw.githubusercontent.com/loadingio/ldcolorpicker/master/dist/ldcp.min.js) and [dist/ldcp.css](https://raw.githubusercontent.com/loadingio/ldcolorpicker/master/dist/ldcp.css) file of ldcolorpicker:


Add data-toggle="colorpicker" in the input box you want to apply ldcolorpicker, e.g.:

and initialize with following script:


new ldcolorpicker(document.querySelector('#ldcp'),{});

Documentation
---------------

check [this url](http://loadingio.github.io/ldcolorpicker/) for documentation and demos.

Todo
---------------

* add 'pinned' indicator
* mobile support

Naming Issue
---------------

Due to naming conflict with `ld-color-picker`, this package is named "@loadingio/ldcolorpicker" instead of "ldcolorpicker".

License
---------

MIT License