categoryBlock {vfinputs}R Documentation

Add a color-label block

Description

Add a color-label block

Usage

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


[Package vfinputs version 0.1.0 Index]