Skip to content
This repository has been archived by the owner on Nov 13, 2018. It is now read-only.

ngModel support #10

Closed
seth2810 opened this issue Jan 28, 2015 · 5 comments
Closed

ngModel support #10

seth2810 opened this issue Jan 28, 2015 · 5 comments

Comments

@seth2810
Copy link

No description provided.

@danprince
Copy link
Owner

What value should be bound?

The color object, hex string? Or should it be configurable based on another directive?

@seth2810
Copy link
Author

Initially, I thought it would be a hexadecimal value, and all internal conversion in the color object would occur within the directive.

@danprince
Copy link
Owner

Yeah, I guess that could work. If the model binds the hex value, then the other filters can be converted over to convert from a hex string, to another color format.

@seth2810
Copy link
Author

Sounds good... A little later I will try to implement this functionality. Now I see only one problem, the color conversion in position on the canvas.

@danprince
Copy link
Owner

Cool. When I get a spot of free time, I'll finish writing up a set of unit tests. Can work backwards from there to fix those conversion bugs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants