Closed orditeck closed 3 years ago
Hi @orditeck. It's easily can be done, just adding the events listeners onMouseEnter
, onMouseLeave
to the alert template
I was wondering if I could get some clarity on what needs to be called in the onMouseEnter
and onMouseLeave
handlers in the alert template in order to pause the timeout? As far as I can tell, the only option is to omit the timeout
option completely and implement a custom one inside the alert template that calls close
directly. Is that correct?
Hi @ShannonLCapper, yes it's totally correct. It may be not the best implementation, but it's the working one. I use such construction in one of my projects.
Hi, thanks for the nice lib.
It'd be a nice feature if the timeout could be paused when the cursor is hovering the alert.