Each keyboard event is then recorded for the currently in-focus window.
然后将记录当前持有焦点的窗口的每个键盘事件。
Canceling the event chain for the keyboard event by setting the cancelBubble property on the EVENT object to true
将 EVENT 对象的 cancelBubble 属性设置为 true,取消键盘事件的事件链
For example, you can replace mouse event handlers without affecting menu event handlers or keyboard event handlers.
例如,您可以在不影响功能表事件处理常式或键盘事件处理常式的情况下,取代滑鼠事件处理常式。
应用推荐