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

Accept only hex when creating the color picker #3

Merged
merged 4 commits into from
May 12, 2016

Conversation

cassioscabral
Copy link
Collaborator

I was needing this to work in my project and I think it's nice to have this option. If you only define the hex value in the colors prop it won't work, since the colors mixin need the other values which are calculated on change. I got your function that did the recalculation(colorChange method) and move it to a function and reuse it in the created function. I did a simple test and it worked fine. Feel free to accept or not, I was going to open a issue but since it's simple, one PR is fine IMO. Thank you for the vue-color. Feel free to contact me if necessary.

@xiaokaike
Copy link
Owner

Thank you fix this it
And Do you have this problem #1
Can you help me to have a look

@xiaokaike xiaokaike merged commit b6476d0 into xiaokaike:master May 12, 2016
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

Successfully merging this pull request may close these issues.

None yet

2 participants