Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ThinkR-open/tagsinput

Bootstrap tags input for shiny
https://github.com/ThinkR-open/tagsinput

bootstrap r shiny

Last synced: 2 months ago
JSON representation

Bootstrap tags input for shiny

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, echo = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "README-"
)
```

```{r, eval=FALSE}
library(shiny)
ui <- fluidPage(
tagsTextInput("fruits", "Fruits", "apple, banana"),
textOutput("out")
)

server <- function(input, output){
output$out <- renderPrint( strsplit( input$fruits, ",")[[1]] )
}

shinyApp( ui, server )
```

![](gif/fruits.gif)