Pause toast timer when the window loses focus
The default behavior is to pause the toast timer whenever the window loses focus. You can opt-out by setting the pauseOnFocusLoss
props to false
.
- disable globally
ts
app.use(
Vue3Toasity,
{
pauseOnFocusLoss: false,
} as ToastContainerOptions,
);
or
ts
updateGlobalOptions({ rtl: true });
toast.success('Wow so easy!');