0
と呼ば得ていないが)と呼ばれる取得されていません。modelEvents()(何らかの理由modelEventsため、MarionetteJSを使用して
export class MyView extends Marionette.ItemView<MyModel> {
constructor(public model: MyModel) {
super();
}
public events(): Backbone.EventsHash {
// This gets called by the framework
const events: Backbone.EventsHash = {};
return events;
}
public modelEvents() {
// This does not
return {};
}
}
私は活字体を使用していて、モデルは(依存性注入フレームワークと、コンストラクタに渡されますアウレリア依存性注射)。