Event bubbling (事件冒泡) 机制,通过给 单个 DOM (父)节点绑定事件,从而可以管理这个节点下所有子节点的事件处理 ( Deligage (代理活委托)就是指...
基于246个网页-相关网页
Bubbling Event 冒泡事件
The event bubbling technique provides the ability to disconnect the view structure of the widget from the controller code.
事件气泡技巧可用于断开小组件的视图结构与控制器代码之间的连接。
Whether the bubbling or capture phase is used, the default action always happens after all event propagation is finished.
无论使用冒泡阶段还是捕获阶段,默认动作总是在所有的传播完成后执行。
If the event reaches the target element without being handled and the event type allows it, the bubbling phase begins.
如果事件抵达目标元素而没有被处理并且该事件类型允许,则进入冒泡阶段。
应用推荐