Home

Awesome

angular-colorpicker-directive

AnguarJS colorpicker directive with no dependencies required.

Demo page

http://alberplz.github.io/angular-colorpicker-directive/index.html

Usage

<script src="js/color-picker.min.js"></script>
<link rel="stylesheet" type="text/css" href="css/color-picker.min.css" />
angular.module('app', ['colorpicker']);
<input color-picker color-picker-model="var"/>

#Options Default option is the first item.

<input color-picker 
       color-picker-model="var"
       color-picker-show-value="true, false"
       color-picker-output-format="'rgba', 'hsla', 'hex'"
       color-picker-position="right, left, top, bottom"
       color-picker-fixed-position="false, true"
       color-picker-show-input-spinner="true"
       color-picker-spinner-rgba-steps="1;1;1;0.1"
       color-picker-spinner-hsla-steps="1;1;1;0.1"
       color-picker-show-cancel-button="false, true"
       color-picker-cancel-button-class="your custom class"
  />

#Extra content If you want to change precaculated images for color picker sliders you can find a few directives in "slider-creator" folder.

<div saturation
     saturation-width="230" 
     saturation-height="130">
     <canvas></canvas><br>
     <textarea></textarea>
</div>

The images are not compressed.