In ProgressPosted in: Product Support
RadhikaMay 21, 2018 at 8:17 pm #10551
I wish to show a loader while the tree is loading and hide it once the loading is complete. Is there a callback function in which i can place the code?
Radhika DumbrevizulyMay 22, 2018 at 7:11 am #10583
Yes there is a callback function!
You can use viz.on(‘update’,myFunction)
This will be triggered each time the component is updated. Alternatively you can also listen to a data change event like this.
viz.on(‘data_change’,myFunction) and that will get fired each time you change the viz.data() property.
I hope that helps.
Viewing 1 reply thread
You must be logged in to reply to this topic.