page: Page Container

Description Usage Arguments Examples

View source: R/page.R

Description

Define a "page" region inside the main container

Usage

1
page(..., inputId, class = NULL)

Arguments

...

Shiny UI content

inputId

an ID for the page (required)

class

apply css classes (optional)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
if (interactive()) {
  library(shiny)
  library(iceComponents)
  ui <- tagList(
    use_iceComponents(),
    container(
      class = "dark-theme",
      page(
        tags$h1("My Application")
      )
    )
  )
  server <- function(input, output, session) {
  }
  shinyApp(ui, server)
}

InControlofEffects/iceComponents documentation built on April 1, 2021, 5:51 a.m.