You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.
Is it even possible to listen for initialization events? Currently the only way to listen for these events would be to access the ref of the component, but by the time we have access to the ref I think the component will have already fired this event.
For example:
importComponent,{Config}from'metal-jsx';import{BarChart,PieChart}from'metal-charts';classMyComponentextendsComponent{attched(){this.refs.chart.on('chartInit',()=>{// This will never actually fireconsole.log('fire');});}render(){return(<PieChartref="chart"/>);}}exportdefaultMyComponent;
Is it even possible to listen for initialization events? Currently the only way to listen for these events would be to access the ref of the component, but by the time we have access to the ref I think the component will have already fired this event.
For example:
I am trying to add something like https://jsbin.com/boyusuz/3/edit?html,js,output
The text was updated successfully, but these errors were encountered: