Description Usage Arguments Examples
View source: R/mod_cssproperty_pageInput.R
A shiny module that allows to give css property for @Page
rule in CSS for pages media
1 2 3 | mod_cssproperty_pageInput(id, title, col = "black")
mod_cssproperty_page(input, output, session)
|
id |
shiny id |
title |
title of the |
col |
background color of the |
input |
internal |
output |
internal |
session |
internal |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
library(shiny)
library(shinydashboardPlus)
if (interactive()) {
ui <- fluidPage(
mod_cssproperty_pageInput("page", title = "page")
)
server <- function(input, output, session) {
callModule(mod_cssproperty_page, "page")
}
shinyApp(ui, server)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.