I can’t find a way to change the toast delay in the app. Is there a way to do this?
$(“#Toast1”).toast(“show”)
Toast,delay ist not showed by Edit App
That’s correct. The delay is set when the control is created and cannot be changed at runtime.
Why do you need this?
A workaround might be to have two Toasts with different delays. Call the one you need.
ok, I do so
Could you do something like this?
$(“#Toast1”).toast(“show”);
setTimeout(hideToast, 1000);
function hideToast() {
$(“#Toast1”).toast(“hide”)
}
1000 is the duration in milliseconds.
Thank you, that works