UIkitPage: Create an UIkit page

Description Usage Arguments Author(s) Examples

View source: R/UIkitPage.R

Description

Build an UIkit Shiny app.

Usage

1
UIkitPage(..., title = NULL, navbar = NULL)

Arguments

...

any element.

title

App title.

navbar

Navbar content, if any.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
if(interactive()){
library(shiny)
library(shinyUIkit)

shiny::shinyApp(
  ui = UIkitPage(
   title = "My UIkit application",
   sliderInput("obs", "Number of observations:",
    min = 0, max = 1000, value = 500
   ),
   plotOutput("distPlot")
  ),
  server = function(input, output) {
  output$distPlot <- renderPlot({
   hist(rnorm(input$obs))
  })
  }
)
}

DivadNojnarg/shinyUIkit documentation built on July 24, 2019, 8:17 a.m.