R/mod_start_page.R

Defines functions mod_start_page_server mod_start_page_ui

#' start_page UI Function
#'
#' @description A shiny Module.
#'
#' @param id,input,output,session Internal parameters for {shiny}.
#'
#' @noRd 
#'
#' @importFrom shiny NS tagList 
mod_start_page_ui <- function(id){
  ns <- NS(id)
  tagList(
    selectInput("sel_project",
                label = "Project",
                choices = c("Project A",
                            "Project B"))
  )
}
    
#' start_page Server Function
#'
#' @noRd 
mod_start_page_server <- function(input, output, session){
  ns <- session$ns
 
} 
    
## To be copied in the UI
# mod_start_page_ui("start_page_ui_1")
    
## To be copied in the server
# callModule(mod_start_page_server, "start_page_ui_1")
 
degiwo/newapp documentation built on May 3, 2020, 1:37 p.m.