Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color Picker #70

Open
offsky opened this issue Nov 3, 2015 · 0 comments
Open

Color Picker #70

offsky opened this issue Nov 3, 2015 · 0 comments

Comments

@offsky
Copy link
Owner

offsky commented Nov 3, 2015

A new directive to edit the color of a square div.

$scope.myColor = "ff00ff";
..
<div ade-color ade-id="1234" ng-model="myColor"></div>

A div with this directive on it would be given a background color specified by the model value (a string hex value). Clicking the div will open a popup editor that would provide a color wheel where you could select a new color value which would be saved to the model like our other directives.

These are good references and may be adaptable to our use.
https://github.com/buberdds/angular-bootstrap-colorpicker
http://kaihenzler.github.io/angular-minicolors/

It would be best if we could avoid any external dependencies, especially bootstrap.

@annavester annavester mentioned this issue Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant