Hey please can any one help me to solve this problem. my View is
<div id="sankey_multiple" style="width: 900px; height: 300px;"></div>
my Component.js is
App.sankeyComponent = Ember.Component.extend({
needs: ['sankey'],
//navigation: Ember.computed.alias('controllers.navigation'),
isExpandedBookmarks: false,
didInsertElement: function() {
alert('insert');
}
});
But didInsertElement function is not working I am not getting where exactly I need to add the google chart scripts.
If I add it in init function it says container not found. So I thought we need to add after didInsertElement. But its not working. Can any one help me out in this ? thank you in advance.
Aucun commentaire:
Enregistrer un commentaire