We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
实际上是事件冒泡的一个应用;应用场景,在一个父容器当中新增元素,而该元素又需要绑定事件时,可以吧事件绑定到父容器上,再用event.target代替this来处理当前元素即可。
The text was updated successfully, but these errors were encountered:
event.target
Sorry, something went wrong.
No branches or pull requests
事件代理的使用
实际上是事件冒泡的一个应用;应用场景,在一个父容器当中新增元素,而该元素又需要绑定事件时,可以吧事件绑定到父容器上,再用event.target代替this来处理当前元素即可。
The text was updated successfully, but these errors were encountered: