Notice that the first script in the figure is not placed in an event handler method.
注意,图中的第一个脚本并不放置在一个事件处理程序方法中。
Starting with StartElement as the next expected event, the method will concatenate all characters and return the resulting string before an EndElement is encountered.
从StartElement作为下一个预期事件开始,该方法在遇到EndElement之前将所有字符连接起来并返回结果字符串。
Like Listing 9, Listing 10 also receives the event identifier over the GET method.
类似于清单9,清单10也通过GET方法取得事件标识符。
In programming terms, the trigger method should be scoped to event.
在编程术语中,trigger方法的范围应针对事件。
Table 5 summarizes the URI pattern and HTTP method, as well as which event gets emitted.
表5总结了URI模式和HTTP方法,以及发出了的哪些事件。
The READE (Rare Event Algorithm with Dose Effect) method can well speed up the MD simulation of ion implantation with dose effect.
(包含剂量效应的稀有事件算法)方法可以很好的加速含剂量效应的离子注入的分子动力学模拟。
Once these object properties are set, the insertEvent() method actually saves the event to the Google servers.
设置完这些对象属性后,insertEvent()方法将事件保存到Google服务器。
It would then be up to the resource adapter to decide which method to invoke, depending on the event.
这样就可以让资源适配器根据事件判断要调用哪个方法。
Defines the events that this widget should handle, and the method that is called when the event is received.
定义小部件应该处理的事件,以及收到事件时调用的方法。
Notice that the test automation simulates a button click by directly invoking the button control's associated method rather than by firing an event.
请注意,测试自动化是通过直接调用按钮控件的相关方法模拟按钮单击的,而不是通过触发事件模拟。
Initially, the receiver of the event declares its interest to the publisher by calling the subscribe method.
最初,事件的接收者通过调用订阅方法向发布者声明他的兴趣。
You're given every element with the header style, and you then iterate over that collection with the forEach method, applying an event listener to each element.
收到每个带有 header样式的元素后,用forEach方法遍历集合,对每个元素应用一个事件侦听器。
The only downside is you'll need to run this method on your page's onLoad event, on the body tag.
惟一的缺点是您需要在页面的body 的onLoad事件上运行此方法。
Figure 1 shows this concept, with opportunities to hook in events to handle security aspects, or a particular HTTP method (such as GET or POST) event.
图1展示了这个概念,并且还包括了处理安全性方面问题的事件和特定的HTTP方法(比如GET或POST)事件。
Each time a timetick event occurs in FadeIn state, the handleEvent method will call a function that increases the opacity of the tooltip slightly.
每当在FadeIn状态下发生timetick事件时,handleEvent方法将调用一个函数,它略微增加工具提示的不透明度。
These handlers can perform any number of tasks, including calling a service, setting a value on a class, calling a method on a class, or dispatching another event.
这些事件处理器可以执行任何数量的任务,包括对某项服务的调用,对一个类中某个值的设定,对一个类中某个方法的调用,或者分发另一个事件。
This method takes two arguments, the assessment type and a reference to the original event info (Figure 12).
此方法带两个参数,评估类型和原始事件信息的一个引用(图12)。
If, during the widget lifecycle, some connections are not needed any longer, the implementer can manually disconnect them by calling the disconnect method to reduce the event handling.
如果,在小部件生命周期内一些连接已经不再需要,那么实现者就可以通过调用disconnect方法来手动断开这些连接以减少事件的处理。
The second parameter to the macro is the fully qualified name of the method that should be called when the menu event is triggered.
第二个参数是在触发菜单事件时调用的方法的全限定名。
While iterating over the events, method peek determines if the next event will be the start of an icon element, which contains the feed's icon URL.
迭代事件的过程中,peek方法判定下一个事件是否从icon元素开始,该元素包含提要的图标url。
This is the method used by the PresenceMonitor to send notification of an SIP event.
这是一个由PresenceMonitor用于发送SIP事件通知的方法。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
Within that subclass, we create a new method called EventTable that builds a table of results for a given event.
在这些子类内,我们创建了一个名为EventTable的新方法,为给定事件构建了一个结果表。
In this case, the triggering event is an XML token that is parsed when the application advances the parser along the token stream using the appropriate method.
这里的触发事件是随着应用程序使用适当的方法推动解析器在标记流中前进而解析出来的XML标记。
By calling jQuery's bind method on your newly created TAB set, you can attach a handler to this custom event.
通过在新创建的选项卡组上调用jQuery的bind方法,可以给这个定制事件附加一个处理程序。
The method does select a function to call from the actionTransitionFunctions table using the current state and event type as associative array indexes.
这个方法使用当前状态和事件类型作为关联数组的索引,从actionTransitionFunctions表中选择要调用的函数。
To maximize code reuse, the sample application calls the same ShowTimerEventFired method from all three different types of timer events. Here are the three timer event handlers.
为了最大限度的代码重用,三种不同类型的定时器事件都调用了同样的ShowTimerEventFired方法,下面就是三个定时器事件的处理函数。
Because the exception has been handled, the event method does not return an HTTP error status code.
因为异常已被处理,所以该事件方法不返回HTTP错误状态代码。
Further, an action request may contain additional context information, which will be provided to the event handler method.
此外,一个动作请求可以包含额外的上下文信息,以提供给事件处理器方法。
Further, an action request may contain additional context information, which will be provided to the event handler method.
此外,一个动作请求可以包含额外的上下文信息,以提供给事件处理器方法。
应用推荐