UI to show a splash screen in the beginning, then delegate to srv_teal()
ui_teal_with_splash.Rd
The splash screen could be used to query for a password to fetch the data.
init()
is a very thin wrapper around this module useful for end-users which
assumes that it is a top-level module and cannot be embedded.
This function instead adheres to the Shiny module conventions.
If data is obtained through delayed loading, its splash screen is used. Otherwise, a default splash screen is shown.
Please also refer to the doc of init()
.
Usage
ui_teal_with_splash(
id,
data,
title,
header = tags$p("Add Title Here"),
footer = tags$p("Add Footer Here")
)
Arguments
- id
(
character(1)
)
module id- data
(
TealData
orTealDataset
orTealDatasetConnector
orlist
ordata.frame
orMultiAssayExperiment
)R6
object as returned byteal.data::cdisc_data()
,teal.data::teal_data()
,teal.data::cdisc_dataset()
,teal.data::dataset()
,teal.data::dataset_connector()
orteal.data::cdisc_dataset_connector()
or a singledata.frame
or aMultiAssayExperiment
or a list of the previous objects or function returning a named list. NOTE: teal does not guarantee reproducibility of the code when names of the list elements do not match the original object names. To ensure reproducibility please useteal.data::teal_data()
orteal.data::cdisc_data()
withcheck = TRUE
enabled.- title
(
NULL
orcharacter
)
The browser window title (defaults to the host URL of the page).- header
(
shiny.tag
orcharacter
)
the header of the app. Note shiny code placed here (and in the footer argument) will be placed in the app'sui
function so code which needs to be placed in theui
function (such as loading css viahtmltools::htmlDependency()
) should be included here.- footer
(
shiny.tag
orcharacter
)
the footer of the app