mardi 16 janvier 2018

Use of Ember.$.proxy

In my Ember app, I have the following code;

eventsToListen: function() {
    var self=this;
    return [{
        eventName: "Submit",
        callBack: Ember.$.proxy(this.clearFunction, this)
    }];
},

I wanted to understand what does the line "Ember.$.proxy" signify ?

Is that a jquery method ?




Aucun commentaire:

Enregistrer un commentaire