Bootstrap Colorpicker Versions Save

Bootstrap Colorpicker is a modular color picker plugin for Bootstrap.

2.5.3

5 years ago
  • fixes: sliders not working when color has no hue
  • removes bower support

3.0.0-beta.3

5 years ago

2.5.0

7 years ago
  • 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

2.4.0

7 years ago

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! ?

2.3.5

7 years ago

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');


2.3.0

8 years ago
  • Custom color selectors with aliases
  • Browserify support
  • Fixes:
    • Paste color code
    • setValue will update the color properly
  • other minor changes

2.2.0

8 years ago
  • Improved project metadata
  • Make jshint pass
  • .editorconfig support and changed coding style
  • Combined doc files into one (index.html)
  • jQuery 2.x compatibility

2.1.2

8 years ago
  • Custom widget size support (see the documentation demos)
  • Added custom class option
  • Fixed and updated bower, package and dist files
  • Fixes #84 and #111

2.1.1

9 years ago
  • Fixes bug #110 with #109
  • composer.json support

2.1.0

9 years ago
  • Support of 'transparent' color value
  • Updated docs
  • Colorpicker will no longer change the selector and component color if the input is empty
  • Bower will no longer prompt for the bootstrap version
  • disable and enable events now trigger properly
  • Fix in the string parsers #104