How do I use event.preventDefault with KnockoutJs click event handlers?

前端 未结 2 616
无人共我
无人共我 2021-02-18 12:57

I have the following table row as a script template in KnockoutJs:

    

        
2条回答
  •  情歌与酒
    2021-02-18 13:21

    As per @Benoit Drapeau's comment:

    In more recent versions of Knockout you use clickBubble: false. e.g.

     
    

    http://knockoutjs.com/documentation/click-binding.html

提交回复
热议问题