For example, in the initial state of Inactive, the only expected event is mouseover, so you can define a function to handle that situation, as shown in Listing 9.
例如,在Inactive的初始状态中,可能出现的惟一事件是mouseover,所以可以定义一个处理此情况的函数,见清单9。
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之前将所有字符连接起来并返回结果字符串。
An alert can be used to provide an actionable message based on a single or set of correlated events that have occurred or based on an expected event that has not occurred.
在一个或一组相关事件已经发生时,或在预期的事件未能发生时,可以使用警报提供可操作的消息。
The event is expected to include performances by musicians including Sting, John Legend,and the Roots.
VOA: special.2010.04.21
More than five thousand musicians are expected to perform during the huge seven-day event.
VOA: special.2009.05.01
As expected, Shaun White took the gold in the halfpipe event.
VOA: special.2010.02.26
应用推荐