inst/examples/08-resize/server.R

library(shiny)
library(shinyAce)

shinyServer(function(input, output, session) {
  observeEvent(input$clear, {
    updateAceEditor(session, "ace", value = "\r")
  })
})
trestletech/shinyAce documentation built on Oct. 19, 2024, 10:44 p.m.