2
ember.run.bindを動作させようとしていますが、動作していないようです。私はあなたが呼び出すことができる機能を返すEmber.run.bind()
すべての組み合わせEmber.run.bindが機能していません
_didInsertElement: Ember.on('didInsertElement', function() {
Ember.run.bind(this, this.doSomething);
})
または
_didInsertElement: Ember.on('didInsertElement', function() {
Ember.run.bind(this, function() {
this.doSomething();
});
})
または
_didInsertElement: Ember.on('didInsertElement', function() {
var _this = this;
Ember.run.bind(this, function() {
_this.doSomething();
});
})
ハ私はこれを試してみましたはずですが、私はこれがそれであることができなかったと感じ、感謝の束 – wallop