Skip to content

Add a demo shiny app in the doc #429

@ColinFay

Description

@ColinFay

It would be helpful to have a demo shiny app at: https://www.htmlwidgets.org/develop_intro.html#creating-your-own-widgets

library(shiny)
library(mywidget)
ui <- tagList(
    mywidgetOutput("x")
 )

server <- function(
  input,
  output,
  session
) {
  output$x <- renderMywidget({ 
    	mywidget("hello")
    })
}

shinyApp(ui, server)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions