イベントを発生させたハンドラーを見つける方法はありますか?
たとえば、私の店:
handlers: {
surahReceived(payload) {
this._surah = payload.surah;
this.emitChange();
},
ayahsReceived(payload) {
this.dispatcher.waitFor('AyahStore', function() {
this._surah.ayahs = this.dispatcher.getStore(AyahStore).getAyahs();
}.bind(this));
this.emitChange();
},
surahListReceived(payload) {
this._surahs = payload.surahs;
this.emitChange();
}
}
最後の関数が起動すると、リスナーは次のようになります。
statics: {
storeListeners: {
_onSurahReceived: [SurahStore]
}
},
イベントを発生させた関数を知りたい