... onNodeFocus [Function 节点聚焦事件] onNodeClick [Function 节点单击事件] onNodeChecked [Function 节点选中事件] ...
基于8个网页-相关网页
清单 20 中所示的方法可用来忽略 onClick 事件,只返回某个被禁用了的节点是否被单击。
The method shown in Listing 20 can be used to ignore the onClick event by simply returning if a disabled node was clicked on.
当用户单击某个关闭的节点时,浏览器会将目标节点的onClick事件(通过气泡)传递给小组件控制器代码的主onclick处理程序。
When a user clicks on a closed node, the onClick event of the target node is bubbled up by the browser to the main onClick handler of the widget's controller code.
应用推荐