skinSelector: AdminLTE2 skin selector

View source: R/skinSelector.R

skinSelectorR Documentation

AdminLTE2 skin selector

Description

skinSelector creates a skin selector element.

skinSelectorItem creates an item to insert in a skin selector object. Used internally by skinSelector.

Usage

skinSelector()

skinSelectorItem(color)

Arguments

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".

Author(s)

David Granjon, dgranjon@ymail.com

Examples

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) { }
 )
}

shinydashboardPlus documentation built on Sept. 11, 2024, 8:07 p.m.