categoryBlock: Add a color-label block

Description Usage Arguments Value

View source: R/shapes.R

Description

Add a color-label block

Usage

1
categoryBlock(i, values, tag_name, class, color_map)

Arguments

i

The index of the item to be created

values

A list of values from which the corresponding item label will be retrieved

tag_name

An HTML element tag

class

The HTML element class that will enable interaction

color_map

A list of colors from where the corresponding item color will be retrieved

Value

An HTML element with pointer cursor, a colored square and a label


rhenkin/vfinputs documentation built on Oct. 23, 2020, 1:30 a.m.