Alberplz / angular2-color-picker

Angular 2 Color Picker Directive, no dependences required.
MIT License
185 stars 82 forks source link

Added "cpColorChangeOnInit" to allow disabling of changeEvent OnInit. #56

Closed mwamufiya closed 1 year ago

mwamufiya commented 7 years ago

The current functionality fires as soon as the directive is made available. this prevents the user from applying a 'transparently/no color" to the target.

By adding this Input parameter:

  1. The existing default behavior remains the same and fires OnInit.
  2. If someone has a need of either of the following uses case, they can make use of it.

Thank you