I am building an app using Ember.js that will display a map. In order to display the map, I need to call some JS after the rendering of the map div.
structure layout:
- app/router.js
--> this.route('map')
- app/controllers/map.js
--> build function
- app/templates/map.hbs
--> <div id="map"/>
In jquery I would use the document ready to launch my JS code:
$( handler )
I'm newbie in ember so I would apreciate any help. I went through the documentation yesterday but I did not quite get all the plumbing yet.
Aucun commentaire:
Enregistrer un commentaire