fullScreenUI <- function() {
tagAppendAttributes(
f7Button(
inputId = "fullscreen",
label = icon("expand"),
color = "blue",
size = "large"
),
onclick = "shinyjs.toggleFullScreen();"
)
}
navbar <- f7Navbar(
title = "Virtual Patient Simulator",
leftPanel = TRUE,
rightPanel = TRUE,
subNavbar = NULL
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.