Nothing
library(shiny)
library(shiny.fluent)
tokens <- list(childrenGap = 20)
ui <- function(id) {
ns <- NS(id)
Stack(
tokens = tokens,
horizontalAlign = "start",
FocusZone(
Stack(
tokens = tokens,
horizontal = TRUE,
verticalAlign = "center",
tags$span("Enabled FocusZone:"),
DefaultButton(text = "Button 1"),
DefaultButton(text = "Button 2"),
TextField(placeholder = "FocusZone TextField"),
DefaultButton(text = "Button 3")
)
),
DefaultButton(text = "Tabbable Element 1"),
FocusZone(
disabled = TRUE,
Stack(
tokens = tokens,
horizontal = TRUE,
verticalAlign = "center",
tags$span("Disabled FocusZone:"),
DefaultButton(text = "Button 1"),
DefaultButton(text = "Button 2")
)
),
TextField(placeholder = "Tabbable Element 2")
)
}
server <- function(id) {
moduleServer(id, function(input, output, session) {})
}
if (interactive()) {
shinyApp(ui("app"), function(input, output) server("app"))
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.