kamranahmedse / jquery-toast-plugin

Highly customizable jquery plugin to show toast messages
http://kamranahmed.info/toast
1.51k stars 508 forks source link

Pause timer on hover #35

Open cirofeitosa opened 6 years ago

cirofeitosa commented 6 years ago

Is there a option to pause the timer on mouseover the toast? And continue timer when mouseleave?

This is useful feature when you have some clickables options on toast and user needs to choose.

nightrider77 commented 6 years ago

Thought about the same thing!!

nightrider77 commented 6 years ago

My version of preventing auto close when mouse is over the toast: https://pastebin.com/FCRgCZKE It's not pausing, I didn't figure out how to properly pause css transition of toast loader.