Skip to content
WIP reactslider for Shiny
R JavaScript
Branch: master
Clone or download
Latest commit 9179d20 Nov 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst/www/reactslider/reactslider init Nov 24, 2019
man
srcjs init Nov 24, 2019
.Rbuildignore init Nov 24, 2019
.gitignore init Nov 24, 2019
DESCRIPTION init Nov 24, 2019
NAMESPACE init Nov 24, 2019
README.md warning added Nov 24, 2019
app.R
package-lock.json
package.json init Nov 24, 2019
webpack.config.js
yarn.lock init Nov 24, 2019

README.md

reactslider

Such a slider would be great for Shiny, it seems however that react-slider-kit might not be it.

⚠️ This is a work in progress.

# install.packages("remotes")
remotes::install_github("JohnCoene/reactslider")

Example

library(shiny)
library(reactslider)

x <- round(rnorm(200, 50, 5))

ui <- fluidPage(
  reactsliderInput("slider", data = x),
  verbatimTextOutput("text")
)

server <- function(input, output) {
  output$text <- renderPrint({
    input$slider
  })
}

shinyApp(ui, server)

You can’t perform that action at this time.