serve | R Documentation |
Intended as entry point to start up a shiny app, the generic function
serve()
can be dispatched either on a single block (mainly for previewing
purposes during block development) or an entire board
serve(x, ...)
## S3 method for class 'block'
serve(x, id = "block", ..., data = list())
## S3 method for class 'board'
serve(x, id = rand_names(), plugins = board_plugins(), ...)
x |
Object |
... |
Generic consistency |
id |
Board namespace ID |
data |
Data inputs |
plugins |
Board plugins |
The generic serve()
is expected to return the result of a call to
shiny::shinyApp()
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.