当这发生时,鼠标单击事件从文档根行进到目标(li)并再次返回。
When that happens, the mouse click event travels from the root of the document to the target (li) and back again. The sequence is.
如果有一个鼠标单击事件发生,它将在客户区中鼠标光标的位置处绘制这个字符串。
If at least one mouse click has occurred, it draws the string in the client area at the mouse position.
它的优点是您不受限于如鼠标单击之类的预定义事件。
The advantage here is that you're not limited to predefined events such as a mouse click.
我们还提供了一些特别的特性,比如说,设计器具有一个“golive”模式,使得所有控件都能响应鼠标单击与文本输入等事件。
We have some special features too - for example, the Designer has a 'go live' mode which makes all controls respond to events such as mouse clicks and text entry.
考虑一下CountryList怎样才能处理用户接口事件(鼠标单击,键盘),并通过这个方法使其能够被CountryTest测试,并被CountryApp使用。
Think about how CountryList could process user interface events (mouse click, keyboard) in a way that could be both tested by CountryTest and used by CountryApp.
请注意,事件处理并不局限于按钮,还包括处理在任何div、span等上进行的鼠标单击。
Note that these are not limited to just buttons and such, but can be made to handle a mouse click on any div, span, and so on.
所谓事件就是指鼠标单击、突出显示和拖动等。
Events are defined as mouse clicks, highlights, dragging, and so on.
如鼠标单击之类的事件可以作为目标。
An event, such as a mouse click, is intended for a target. For example, in the page shown in Listing 7.
如鼠标单击之类的事件可以作为目标。
An event, such as a mouse click, is intended for a target. For example, in the page shown in Listing 7.
应用推荐