-
Notifications
You must be signed in to change notification settings - Fork 356
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
Lack of documentation #162
Lack of documentation #162
Comments
Documentation need to be improved, for sure. |
I think it is actually :presetColors and it accepts array of HEX values. Maybe helps anyone... |
Yes indeed, that's the right property and it does take an array, although, you can fill it with either HEX values and as far as I know also an rgb/rgba like this: 'rgba(0,0,0,0)'. I'll send a PR to update the docs as soon as I have time. This is a good thread to throw in any other details that might be missing from the docs. |
That would be great @BeardScript . I also found myself digging the source code to find appropriate settings. Thanks for your effort. |
Has this been documented? Any link to a documentation? |
I'm sorry I got caught up on work and completely forgot about this. I'll fork and send PR ASAP. |
This closes xiaokaike#162
Hi, I'm Paul. First of all, I'd like to thank the creators of this plugin. It's really nice. But I'd like to point out that the lack of documentation makes it hard to understand the product's capabilities. I needed to expand the preset colors of the Sketch component and I had to go to the source code to check if there was a property I could use, and there was one indeed (:predefinedColors). This could be a drag for newcomers whom would wrongly assume that vue-color won't let them load their own predefined colors.
I offer myself to help adding this to the docs.
The text was updated successfully, but these errors were encountered: