Prevent setTimeout() from firing every time when hiding notification

前端 未结 0 1361
粉色の甜心
粉色の甜心 2021-01-14 20:58

I have a simple popup notification component that should hide after 4 seconds (opacity:0). Problem is that I want a notification to stay if I fire an event that makes a noti

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