skinSelector | R Documentation |
skinSelector creates a skin selector element.
skinSelectorItem creates an item to insert in a skin selector object. Used internally by skinSelector.
skinSelector()
skinSelectorItem(color)
color |
Skin color: "blue", "black", "purple", "red", "green", "yellow" as well as "blue-light", "black-light", "purple-light", "red-light", "green-light" and "yellow-light". |
David Granjon, dgranjon@ymail.com
if (interactive()) {
library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
shinyApp(
ui = dashboardPage(
header = dashboardHeader(),
sidebar = dashboardSidebar(),
body = dashboardBody(),
controlbar = dashboardControlbar(skinSelector()),
title = "Skin Selector"
),
server = function(input, output) { }
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.