Creates a landing welcome popup for teal
applications.
This module is used to display a popup dialog when the application starts.
The dialog blocks access to the application and must be closed with a button before the application can be viewed.
This function is deprecated, please use add_landing_modal()
on the teal app object instead.
Usage
landing_popup_module(
label = "Landing Popup",
title = NULL,
content = NULL,
buttons = modalButton("Accept")
)
Arguments
- label
(
character(1)
) Label of the module.- title
(
character(1)
) Text to be displayed as popup title.- content
(
character(1)
,shiny.tag
orshiny.tag.list
) with the content of the popup. Passed to...
ofshiny::modalDialog
. See examples.(
shiny.tag
orshiny.tag.list
) Typically amodalButton
oractionButton
. See examples.