itsjavi / bootstrap-colorpicker

Bootstrap Colorpicker is a modular color picker plugin for Bootstrap.

Home Page:https://itsjavi.com/bootstrap-colorpicker/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update preset colors in 2.x

lexigren opened this issue · comments

Is it possible to update preset colors (colorSelectors option) after initialization?
I need to show few last selected colors.

For 2.x you will probably need to do it programatically (like it is done in the source code). There is no api for manipulating the swatches after creation unfortunately.