I can't find any right way to renew timer in toastrjs
after hovering.
I determinate a extendedTimeOut
to 0, to not close the toastr
when I hover over it.
The timeOut of toastr
is 10000 ms, but when I'm finished hovering, toastr
is immediately getting hide.
What's the right way to show a toastr
10000 ms after I'm finished hovering over it.
Example of my toastr properties:
const inboxToastr = toastr;
inboxToastr.info(data.bubbleData, title, {
"tapToDismiss": false,
"closeButton": true,
"newestOnTop": false,
"progressBar": false,
"positionClass": "toast-bottom-left", //position
"preventDuplicates": false,
"onclick": null,
"showDuration": "300",
"hideDuration": "1000",
"timeOut": "10000",
"extendedTimeOut": "0",
"hideEasing": "linear",
"iconClass": "background-gray"
});