# NOT RUN {
# ui.R
shinyalert("id", click.hide = TRUE, auto.close.after = NULL)
# close after one second
# and clicking doesn't hide it
shinyalert("id", click.hide = FALSE, auto.close.after = 1)
# }
Run the code above in your browser using DataLab