Skip to contents

This function is required for any surveydown survey. It sets up a Shiny application with Bootstrap 5 and initializes Shinyjs for JavaScript functionalities.

Usage

sd_setup()

Value

This function does not return a value. It is called for its side effects of setting up the Shiny application.

Details

The function configures the Shiny application to use Bootstrap 5 for styling and enables Shinyjs for JavaScript functionalities within the application.

Examples

if (FALSE) { # \dontrun{
  ui <- fluidPage(
    sd_setup(),
    # Your UI elements here
  )
  server <- function(input, output, session) {
    # Your server logic here
  }
  shinyApp(ui, server)
} # }