Skip to content

如何阻止事件冒泡和默认行为?

事件

  • event.stopPropagation()
  • event.preventDefault()

基于 MIT 许可发布