inst/examples/e2e-test/R/scenarios.R

scenariosUI <- function(id) {
  ns <- NS(id)
  tagList(
    h1("Scenarios tests"),
    Pivot(
      PivotItem(headerText = "Tab 1", Label("Hello 1")),
      PivotItem(headerText = "Tab 2", Label("Hello 2")),
      onLinkClick = JS("function() { alert('Pivot tab switched') }")
    )
  )
}
Appsilon/shiny.fluent documentation built on Oct. 4, 2023, 6:59 a.m.