Description Usage Arguments Details Value Examples
View source: R/spsUIcollections.R
A fast way in SPS to generate a gallery to display plot tab screenshots
1 2 3 4 5 6 7 8 9 |
tab_ids |
a vector of tab IDs |
Id |
element ID |
title |
gallery title |
type |
If this value is not |
title_color |
title color, common colors or hex code |
image_frame_size |
integer, 1-12 |
app_path |
app path, default current working directory |
require a SPS project and the config/tabs.csv file. If you want to use gallery outside a SPS project, use spsComps::gallery
gallery div
1 2 3 4 5 6 7 8 9 10 11 | if(interactive()){
spsInit()
ui <- fluidPage(
genGallery(c("plot_example1")),
genGallery(type = "plot")
)
server <- function(input, output, session) {
}
shinyApp(ui, server)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.