The major difference is that SproutCore provides higher-level components that you only need to plug your data into to hook up event listeners (usually referred to as 「observers」).
主要差别是SproutCore提供高级别的组件,您只需要将您的数据插入并连接到事件监听程序(通常称为 「observer」)。
Listing 4 shows the implementation of two event listeners in the Weather Reporter application.
清单4显示了WeatherReporter应用程序中实现的两个事件侦听器。
Feature like customizable activity implementations and event listeners are crucial to make sure that the analyst still recognizes the diagram after it「s been made executable.
像可自定义活动实现和事件监听器这样的特性对于确保分析人员在图变得可执行之后仍能认出它来说至关重要。
When I registered event listeners for events, you probably noticed that this was the instance of the DOM events」 EventListener interface that I passed as a parameter (the second).
在我注册事件的监听器时,您可能注意到this指的是作为一个参数(第二个)传递的DOMEvents的EventListener接口实例。
Bind event listeners to certain DOM nodes.
为某些DOM节点绑定事件侦听器。
As mentioned earlier, EDA event sources and event listeners are loosely coupled.
正如前面提到的,EDA事件源和事件侦听器采用松散耦合方式。
The fault handlers are designated as event listeners once the fault entries appear.
故障处理人员正被指定为事件听众一旦故障作品出现。
GWT splits its event listeners differently from Swing: The ClickListener listens for mouse clicks and only for mouse clicks.
GWT划分其事件侦听器的方式与Swing不同:ClickListener侦听且仅侦听鼠标点击。
Menus also handle their own events, so there's no need to register event listeners on the items in your menu.
菜单会自行处理它们的事件,所以你不必为你菜单中的项目注册事件侦听器。
Some of these sections include application composition, the SipFactory API, and a lot of event listeners to handle events in the protocol handling.
其中一些部分包含了应用程序组合、SipFactoryAPI和用于在协议处理中处理事件的很多事件侦听器。
Ensure that you remove event listeners when they are no longer needed.
当你移除侦听事件时,请一定要确定这个侦听事件不再有用。
Do we need to unbind event listeners in directives when angular starts to destroy?
我们需要解除绑定的事件侦听器在指示当角开始破坏?
The Component itself can have event listeners separate from its underlying Element. If any exist, they are removed.
组件可以独立于元素,自己拥有事件代理,如果存在则移除它们。