label3 {editData} | R Documentation |
Create a side-by-side label
Description
Create a side-by-side label
Usage
label3(label, width = 100, bg = NULL, ...)
Arguments
label |
A text to display |
width |
The width of the input in pixel |
bg |
The color of text |
... |
arguments to be passed to label |
Examples
library(shiny)
# Only run examples in interactive R sessions
if (interactive()) {
ui <- fluidPage(
label3("Welcome"),
checkboxInput3("somevalue", "Some value", FALSE),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$somevalue })
}
shinyApp(ui, server)
}
[Package editData version 0.1.8 Index]