function to load js for using shinyFeedback

useShinyFeedback(feedback = TRUE, toastr = TRUE)

Arguments

feedback

boolean: source in JS/CSS to use shinyFeedback functions (Default: TRUE)

toastr

boolean: source in JS/CSS to use showToast functions (Default: TRUE)

Example

  ui <- shinyUI(fluidPage(
    useShinyFeedback(
      feedback = TRUE,
      toastr = TRUE
    ),
    pageWithSidebar(
      headerPanel("Header"),
      sidebarPanel(
        ...
      ),
      mainPanel(
        ...
      )
    )
  ))