Nothing
library(shiny)
library(shinyToastify)
shinyServer(
function(input, output, session){
observeEvent(input[["btn"]], {
toastType <- input[["type"]]
html <- HTML(
'<span style="font-size: 30px; font-family: cursive;">',
paste0(toastType, " toast"),
'</span>'
)
showToast(
session,
input,
text = html,
type = toastType,
transition = input[["transition"]],
autoClose = 3000
)
})
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.