This repository has been archived by the owner on Apr 8, 2022. It is now read-only.
Releases: itsjavi/bootstrap-colorpicker
Releases · itsjavi/bootstrap-colorpicker
3.0.0-beta.3
Progress and description here: https://github.com/farbelous/bootstrap-colorpicker/issues/241
2.5.3
v2.5.0
- Bootstrap is no longer a dependency
- Fix: Use mousedown to prevent a
focusout
firing before click is handled #198 - Fix: Webpack support #199 (plugin factory refactoring)
- Fix: Trigger change event when color picked #192
- Feature: new option
hexNumberSignPrefix
to allow hex color without initial hash #191
v2.4.0
Lots of bug fixes and improvements:
- Bootstrap is no longer a bower dependency
- Fixed some demos and updated docs with new options
- Fixed color selectos display problem
- Added some useful rules for visibility classes
- Is now possible to initialize the plugin using another parent than main window
- Fixed cancellation of input change event and colorpicker child element events
- New options for setting the fallback color and format (before it was always black and hex)
- Fixed click/tap on mobile devices
- Other UI fixes and improvements (like saturation disappearing)
This fixes #161, fixes #186, fixes #184, fixes #183, fixes #182, closes #180, fixes #178, closes #172,
fixes #87, fixes #127, closes #157, fixes #162,
fixes #168, closes #153 and fixes #140 .
Happy Holidays! 🎄
v2.3.5
API Improvements
Now it's possible to use the full Colorpicker
class API, using the jQuery plugin API.
Examples:
// Get the format property of the instance
var format = $('.colorpicker-element:first').colorpicker('format');
console.log(format); // "hex"
// Getting values only works for single elements, otherwise a jQuery object will be returned.
var format = $('.colorpicker-element').colorpicker('format');
console.log(format); // jQuery object
var value = $('.colorpicker-element').colorpicker('getValue');
console.log(value); // jQuery object
// Show all colorpickers (calls show() for all color pickers)
$('.colorpicker-element').colorpicker('show');
// Change color of all colorpickers to red (calls setValue('red') for all color pickers)
$('.colorpicker-element').colorpicker('setValue', 'red');