numericInput3: Create a side-by-side numericInput

Description Usage Arguments Examples

Description

Create a side-by-side numericInput

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
numericInput3(
  inputId,
  label,
  value,
  min = NA,
  max = NA,
  step = NA,
  width = 100,
  ...
)

Arguments

inputId

The input slot that will be used to access the value.

label

Display label for the control, or NULL for no label.

value

Initial value.

min

Minimum allowed value

max

Maximum allowed value

step

Interval to use when stepping between min and max

width

The width of the input in pixel

...

arguments to be passed to numericInput

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
library(shiny)
# Only run examples in interactive R sessions
if (interactive()) {
  ui <- fluidPage(
         textInput3("id", "id", ""),
         numericInput3("score","score",value=1)
    )
    server <- function(input, output) {

    }
    shinyApp(ui, server)
}

Example output



editData documentation built on April 2, 2021, 5:06 p.m.