Angular document.addEventListener listen to click outside

前端 未结 0 1190
后悔当初
后悔当初 2020-12-14 03:14

I have some code which listens to click inside and outside the element..

Here is the code on javascript.

document.addEventListener(\'click\', (event) =         


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