You can just use the normal setTimeout method in JavaScript.
ie…
setTimeout( function(){
// Do something after 1 second
} , 1000 );
In your example, you might want to use showStickySuccessToast
directly.
You can just use the normal setTimeout method in JavaScript.
ie…
setTimeout( function(){
// Do something after 1 second
} , 1000 );
In your example, you might want to use showStickySuccessToast
directly.