Joined May 2014
·

Felipe Martim Fernandes Vieira

São Paulo Area, Brazil
·

I had some problems with that approach. The one that really worked for me is this:

Ember.View.reopen({
        didInsertElement : function(){
        this._super();
        Ember.run.scheduleOnce('afterRender', this, this.afterRenderEvent);
    },
    afterRenderEvent : function(){
        Ember.$(document).foundation();
    }
});

as explained in http://mavilein.github.io/javascript/2013/08/01/Ember-JS-After-Render-Event/

Achievements
1 Karma
0 Total ProTip Views