| ravedash_footer | R Documentation |
Internally used. Do not call explicitly
ravedash_footer( module_id = NULL, label = "Run Analysis", auto_recalculation = TRUE, class = NULL, style = NULL )
module_id |
'RAVE' module ID |
label |
run-analysis button label; default is |
auto_recalculation |
whether to show the automatic calculation button; default is true |
class |
additional class for the footer |
style |
additional style for the footer |
'HTML' tags
library(shiny)
# dummy variables for the example
data_loaded <- TRUE
# UI code
ravedash_footer("my_module")
# server code to set message
server <- function(input, output, session){
module_server_common(input, output, session, function(){
# check if data has been loaded
if(data_loaded) {
# if yes, then set the footer message
fire_rave_event("loader_message",
"my_project/subject - Epoch: Auditory")
return(TRUE)
} else {
# No data found, unset the footer message
fire_rave_event("loader_message", NULL)
return(FALSE)
}
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.