Since event is deprecated for inline JavaScript function calls. What are the alternatives other that addEventListener?

后端 未结 0 1990
名媛妹妹
名媛妹妹 2021-01-24 01:16

I\'ve already refactored all my code to remove as much as I can inline calls like onclick, onkeypress, etc.

That\'s fine and I really like the modern JS approach overall.

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