1

我刚刚在我现有的项目中尝试了新的 Marionette 1.0.0-beta。在摆弄了几个小时之后,我必须说改变的事件处理让我感到困惑。

  • 事件似乎火了两倍。可能是新的 triggerMethod() 调用的工件?
  • CollectionViews 中的事件冒泡似乎不适用于“item:rendered”等标准事件。那些在 ItemViews 内触发,但不是父 CollectionView。这是故意的吗?
  • 不同的事件处理方法是用来做什么的?EventAggregator、EventBinder、Wreqr、本机主干事件……?

太好了,如果你能把事情弄清楚。如果您可以将现有文档标记为适用于 Marionette 的哪些版本,那就太好了。

4

1 回答 1

0

Regarding the event bubbling in CollectionViews, there is a pull request to fix this as it is a bug

于 2012-10-14T21:18:22.270 回答