Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johncoene/reactslider
WIP reactslider for Shiny
https://github.com/johncoene/reactslider
r rstats
Last synced: 25 days ago
JSON representation
WIP reactslider for Shiny
- Host: GitHub
- URL: https://github.com/johncoene/reactslider
- Owner: JohnCoene
- Created: 2019-11-24T17:46:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T21:40:24.000Z (about 1 year ago)
- Last Synced: 2024-08-06T03:04:11.490Z (3 months ago)
- Topics: r, rstats
- Language: R
- Size: 2.45 MB
- Stars: 15
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# reactslider
Such a slider would be great for Shiny, it seems however that [react-slider-kit](https://github.com/M-Izadmehr/react-slider-kit) might not be it.
:warning: This is a work in progress.
``` r
# install.packages("remotes")
remotes::install_github("JohnCoene/reactslider")
```## Example
``` r
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)
```![](./man/firgures/../figures/reactslider.gif)