Update the type and title of bscui ui elements in 'shiny' app
Source:R/update_bscui_ui_elements.R
update_bscui_ui_elements.Rd
Update the type and title of bscui ui elements in 'shiny' app
Arguments
- proxy
a
bscui_Proxy
object- ui_elements
NULL or a data frame with the following columns:
id: the element identifier
ui_type: either "selectable" (several elements can be selected), "button" (action will be triggered on click), "none" (no ui)
title: a description of the element to display on mouseover event
Examples
if(interactive()){
from_shiny <- new.env()
shiny::runApp(system.file(
"examples", "shiny-anatomogram", package = "bscui"
))
for(n in names(from_shiny)){
bscui(from_shiny[[n]]) |> print()
}
}