Description Usage Arguments Examples
Trigger a full screen from the server.
1 |
target |
Id of target element to make full screen,
if |
session |
A valid shiny session. |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | library(shiny)
ui <- fluidPage(
h1("Hello fullscreen"),
actionButton(
"fs",
"Fullscreen via server"
)
)
server <- function(input, output, session){
observeEvent(input$fs,{
fs_server()
})
}
if(interactive())
shinyApp(ui, server)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.