# NOT RUN {
if (interactive()) {
library(dash)
app <- Dash$new()
app$layout(
htmlDiv(list(
htmlDetails(
children = list(
htmlSummary(
children = "Within a details element, the summary can act as a clickable description"
),
"And the rest is hidden until the summary is clicked"
)
)
)
)
)
app$run_server()
}
# }
Run the code above in your browser using DataLab