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

Control the color picker from outside #38

Closed
tomveich opened this issue Sep 14, 2023 · 4 comments
Closed

Control the color picker from outside #38

tomveich opened this issue Sep 14, 2023 · 4 comments

Comments

@tomveich
Copy link
Contributor

Hi, I'm not sure if it's been implemented yet but I couldn't find it in the documentation.
Is it possible to control the color picker from outside of the composable through the color picker controller variable? I would like to set the color for example, but dynamically after the color picker has been initialised (so the initialColor probably won't be suitable for this)

Thank you

@atrauzzi
Copy link

I'm curious about this as well!

@olmur
Copy link

olmur commented Nov 6, 2023

It would be great to have this option in the library!

@ruigoncalo
Copy link
Contributor

Added a PR to solve this #45

@skydoves
Copy link
Owner

skydoves commented Dec 3, 2023

The new version 1.0.6 resolves this issue. You can use the selectByColor method via the controller. Thanks for reporting this issue and create the PR, @ruigoncalo!

@skydoves skydoves closed this as completed Dec 3, 2023
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

5 participants