📜  响应 typescript onclick 停止传播 - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:17.181000             🧑  作者: Mango

代码示例1
handleClick(event:  React.MouseEvent) {
    event.stopPropagation();
      ...
      the_click();
}

render() {
    ...
    
    ...
}