README.md

shinyEditable

shinyEditable package is an R wrapper for X-editable javascript library. You can use it to create in-place editable input elements.

Installation

You can install the released version of shinyEditable from CRAN with:

## CRAN version not available

or the development version from github with:

devtools::install_github("yang-tang/shinyEditable")

Example

This is a basic example which shows you how to solve a common problem:

library(shiny)
library(shinyEditable)

ui <- fluidPage(
  "My name is ", editableInput("name", "text", ""),
  hr(),
  verbatimTextOutput("bar")
)

server <- function(input, output, session) {
  output$bar <- renderPrint({
    cat("Name: ", input$name)
  })
}

shinyApp(ui, server)



Yang-Tang/shinyEditable documentation built on May 4, 2019, 7:42 p.m.