How To Run A Function When Ember Finished Loading For The First Time
Hi i'm writing a simple ember app that I run within a node-webkit app, now I would like to run: require('nw.gui').Window.get().show(); right after Ember finished loading and had r
Solution 1:
Ember.Application
has a ready event. That could match your needs.
You can use it like this:
window.App = Ember.Application.create({
ready: function () {
alert('Application ready!');
}
});
Post a Comment for "How To Run A Function When Ember Finished Loading For The First Time"