When Can I Reference the Visualization Model Properties?
Creating a visualization through app.visualization.get , is there a way in the javascript code to perform an action once the model properties are populated.
I don't have a lot of experience with the asynchronous nature of javascript
I would just like to log the visualization object to the console at the point in which vis.model.properties will have information. No matter where I stick the command, I can't seem to get it to return. Even in onRendered it is blank
However if I wait until everything is loaded and then in the developer tools console, I reference it from my visualizations array it is stored to in line 2 above, the properties are there.