Learn R Programming

shiny.semantic (version 0.3.0)

uinumericinput: Create Semantic UI Numeric Input

Description

This creates a default numeric input using Semantic UI. The input is available under input[[name]].

Usage

uinumericinput(name, value, min = NA, max = NA, step = NA)

Arguments

name

Input name. Reactive value is available under input[[name]].

value

Initial value of the numeric input.

min

Minimum allowed value.

max

Maximum allowed value.

step

Interval to use when stepping between min and max.

Details

The inputs are updateable by using updateNumericInput.

Examples

Run this code
# NOT RUN {
library(shiny)
library(shiny.semantic)

# Text input
uiinput(
  tags$label("Numeric Input"),
  uinumericinput("ex", 10)
)

# }

Run the code above in your browser using DataLab