SVG supports all of the mouse events you expect but also has support for keyboard events -- even for specific key events, which is what I've chosen to demonstrate here.
SVG支持您所期望的所有鼠标事件,但是也支持键盘事件,甚至还支持特定的按键事件,最后一种情况就是我选择将在这里证实的情况。
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.
我们还提供了一些特别的特性,比如说,设计器具有一个“golive”模式,使得所有控件都能响应鼠标单击与文本输入等事件。
The first line tells the X server to send all the core events to the TKPANEL device as well as the mouse (so both can be used simultaneously).
第一行告诉X服务器将所有的核心事件发送给TKPANEL设备和鼠标(这样就可以同时使用它们了)。
The drag handling, however, must be running in the document object, because you want to get all mouse-move events, not just those that might happen with the cursor over the target object.
但是,对拖动的处理必须在文档对象中运行,因为要获得所有鼠标移动事件,而不仅仅是光标在目标对象上时发生的鼠标事件。
The drag handling, however, must be running in the document object, because you want to get all mouse-move events, not just those that might happen with the cursor over the target object.
但是,对拖动的处理必须在文档对象中运行,因为要获得所有鼠标移动事件,而不仅仅是光标在目标对象上时发生的鼠标事件。
应用推荐