Question

I have many Views whos work with templates. The Rendering with the Views work perfectly, now into my Router i'm seeking to a way to trigger an Event when all Views rendered! I used js loader like LAB.js but nothing work!

After all rendered i enter the event into the firebug console and it's work!

How and Here can i place my event so that it's trigger when all views rendered!

**My Event : **

$('div[id ^="solfg_"]').mobilyblocks();

**Router : **

(function () {

 window.AppRouter = Backbone.Router.extend({
 routes: {
  ""  : "init"
 },

 init: function(){

   this.solfsmodel = new Solfs();
   this.solfsmodel.fetch(); 
   this.solfsView = new SolfsView({model: this.solfsmodel});

 }

});
var app_router = new AppRouter;
Backbone.history.start();
}(jQuery));

Thank you

update : same problems

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top