rColorVector: Recursively turn Configurations list into a vector of colors

Description Usage Arguments Value Functions Note

Description

Recursively turn Configurations list into a vector of colors

Usage

1
2
3
4
rColorVector(x, color = "", color_parent = TRUE)

rColorSliders(x, id = NULL, slidername = "sl", color_parent = TRUE,
  collapse = "\n")

Arguments

x

Configuration list, see validateConfig.

color

Default color.

color_parent

Should parent itself also be colored in new color or only the children?

collapse

should all styles be collapsed into a single style-tag (default), or not (collapse=NULL)

Value

named vector of colors, corresponding to flatted list. names: element names.

Functions

Note

See https://stackoverflow.com/questions/36906265/how-to-color-sliderbar-sliderinput.


JulianBo/mcdsupportshiny documentation built on July 5, 2019, 12:51 a.m.