vue-c3
vue-c3 copied to clipboard
Why using a handler instead of the ref to the component?
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 ?
+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.