Creates an "unbound" colour picker based on the Spectrum jquery plugin. By unbound, we mean that colours aren't pre-defined, allowing the user to choose a color of their own.
For more information about Spectrum, go here: http://bgrins.github.io/spectrum/
If you want to customise the settings for Spectrum, see the file in
~/App_Plugins/SpectrumColorPicker/SpectrumColorPicker.controller.js
and set the Spectrum options in the directive.
- Stable Release! Fixes typo with
preferredFormat
prevalue option which may break previous version
- Added language support, based on umbracos langs and upgraded spectrum from version 1.2.0 to 1.8.0.
- Also added format config option, so rgba can be used.
- Finally added support for Umbraco installed in virtual directories.
- Added the option to specify a transparency when choosing the color.
- Color should now be properly initialising again.
- Fixed problem where the color picker wouldn't be initiated correctly unless the site was refreshed.
- Cleaned up and simplified Controller and removed Directive to make it more reliable.
Thanks goes out to Bo Jacobsen (Emetico) for the language support and format config option in version 0.0.7 and Simon Eldevig (simoneldevig)