actionButton

0th

Percentile

Action button

Creates an action button whose value is initially zero, and increments by one each time it is pressed.

Usage
actionButton(inputId, label, icon = NULL)
See Also

Other input.elements: animationOptions, sliderInput; checkboxGroupInput; checkboxInput; dateInput; dateRangeInput; fileInput; numericInput; radioButtons; selectInput, selectizeInput; submitButton; textInput

Aliases
Examples
# In server.R
output$distPlot <- renderPlot({
  # Take a dependency on input$goButton
  input$goButton

  # Use isolate() to avoid dependency on input$obs
  dist <- isolate(rnorm(input$obs))
  hist(dist)
})

# In ui.R
actionButton("goButton", "Go!")
Documentation reproduced from package shiny, version 0.9.1, License: GPL-3

Community examples

Looks like there are no examples yet.