ruhley / angular-color-picker

Vanilla AngularJS Color Picker Directive with no requirement on jQuery
http://ruhley.github.io/angular-color-picker/
MIT License
166 stars 79 forks source link

Is there any options for global config #98

Closed dmitry-kostin closed 8 years ago

dmitry-kostin commented 8 years ago

to set all options in app config

ruhley commented 8 years ago

No, but the options object can be used on multiple color pickers. If you need this I can add it as a feature request

dmitry-kostin commented 8 years ago

Yes for now i just use root scope for shared options, but it would be fine to have ability to configure through config, since the way i use is not very nice and uses rootScope

Also another feature i think is missing is to set model value through the api, for example: on startup I want all my inputs to be #fff, for now i get this behaviour a little bit tricky through on blur event

ruhley commented 8 years ago

@dmitry-kostin I have no experience creating a decorator before, so can you please review the commit 7b59c75b6c3e62c9554ebc12e9a22d382eeac3ca before I create a new release.

ruhley commented 8 years ago

Released in v2.4.0. View the updated documentation