View source: R/useShinyFeedback.R
| useShinyFeedback | R Documentation |
function to load js for using shinyFeedback
useShinyFeedback(feedback = TRUE, toastr = TRUE)
feedback |
boolean: source in JS/CSS to use shinyFeedback functions (Default: |
toastr |
boolean: source in JS/CSS to use showToast functions (Default: |
ui <- shinyUI(fluidPage(
useShinyFeedback(
feedback = TRUE,
toastr = TRUE
),
pageWithSidebar(
headerPanel("Header"),
sidebarPanel(
...
),
mainPanel(
...
)
)
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.