nteetor / shinystate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shiny, stateful, modular

  1. Fork project
  2. Open locally
  3. Simple example
devtools::load_all()
remotes::install_github("nteetor/yonder")

App(
  Component(
    template = div(
      buttonInput(id = "click", "A simple button") %>%
        background("green") %>%
        margin(3)
    ),
    
    static = "A static string",
    
    function(num = input$click) {
      print(static)
    }
  )
)

About


Languages

Language:R 100.0%