Remove event listener with an anonymous function with a local scope variable

前端 未结 0 396
暖寄归人
暖寄归人 2020-12-20 17:58

The removeEventListener will not work here because the functions are referring to an anonymous function:

const startSelectNode = (stepIndex) =>         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题