We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
if you use rgba as the default color format, and pass it with v-model, you should use:
<vue-color v-model="color"> ... data(){ return { color: { r: 1, g: 1, b: 1, a: 1, } } } ...
What the document told you is wrong:
color:{ rgba: { r: 25, g: 77, b: 51, a: 1 }, }
Because tinycolor.toRgb() dosen't support this documented object format.
The text was updated successfully, but these errors were encountered:
any news about this issue?
Sorry, something went wrong.
We will fix the document in the next release, estimated in next week. Thanks for your feedback.
fix(Document): wrong object structure for rgba format color
e5db200
(#102)
Have updated document. Thanks!
linx4200
No branches or pull requests
if you use rgba as the default color format, and pass it with v-model, you should use:
What the document told you is wrong:
Because tinycolor.toRgb() dosen't support this documented object format.
The text was updated successfully, but these errors were encountered: