#' tuto_modal UI Function
#'
#' @description A shiny Module.
#'
#' @param id,input,output,session Internal parameters for {shiny}.
#'
#' @noRd
#'
#' @importFrom shiny NS tagList
mod_tuto_modal_ui <- function(id){
ns <- NS(id)
tagList(
)
}
#' tuto_modal Server Functions
#'
#' @noRd
mod_tuto_modal_server <- function(id){
moduleServer( id, function(input, output, session){
ns <- session$ns
showModal(
modalDialog(
includeHTML(
rmarkdown::render("data-raw/firstModal.Rmd", output_dir = "data", quiet = TRUE)
),
easyClose = FALSE,
footer = tagList(
span(
actionButton("pass", "Passer l'introduction"),
style = "position:relative; float:left;"
),
actionButton("next1", "Suivant")
),
size = "l"
)
)
})
}
## To be copied in the UI
# mod_tuto_modal_ui("tuto_modal_ui_1")
## To be copied in the server
# mod_tuto_modal_server("tuto_modal_ui_1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.