-
Notifications
You must be signed in to change notification settings - Fork 17
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
Why using a handler instead of the ref to the component? #17
Comments
+1 |
Thank you for the suggestion. I'll try to do it with refs. |
You can wrap it into component which will make handler inside and provide ref API to parent component. |
The 1.2.10 stop using handler right ? You should update documentation according to this because now it's not working anymore. It says INIT is not possible. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I really like the way you did the component. It's not very vue like but giving stuff to the chart using the handler is quite smart and at least it gives the opportunity to fully use c3 through this process ! Well done.
However I was wondering why do you use an external handler to handle event whereas one could have send event directly to the component using $refs ?
The text was updated successfully, but these errors were encountered: