How to add a simple notification. #r #shiny
library(shiny)
shinyApp(
ui = fluidPage(
actionButton("show", "Show")
),
server = function(input, output) {
observeEvent(input$show, {
showNotification(
"Form Submitted",
duration = 1,
closeButton = input$close,
type = "default"
)
})
}
)