Documentation

Widget Properties List

Here is a complete list of widget's properties. For more information about a specific widget property, see the corresponding widget's documentation.

Property Default Description
value "" The value of the widget.
isr FALSE If the value is an R expression.
css "" A list of CSS styles or a list of CSS class names.
margintop 10 The space over the widget in pixels.
labeltext "" The text of the label.
labelposition "left" The position of the label. Can be left, top, topaligned or hidden.
helptext " The help text below the widget.
helpposition "bottom" The position of the help text. Can be bottom or label.
fontsize 14 Used by labels. The size of the font in widget.
fontfamily "default" Used by labels. The family of the font.
fontcolor "#000000" Used by labels. THe color of the font.
required FALSE If the input is required.
onchange "" R Code to execute when the widget's value changed.
condition "" R condition when submitting the form.
onpress "" Used by buttons. R code to execute when pressing the button.
buttonsize "md" Used by buttons. The size of the button. Can be sm, md, lg or fw.
buttondesign "primary" Used by buttons. The style of the button. Can be primary, secondary, success, info, warning, danger, light or dark.
gridtype "text" Used by grids. The type of the grid. Can be text, integer, float or checkbox.
gridcolumns "" Used by grids. The columns headers.
gridrows "" Used by grids. The rows headers.
gridnbcolumns "" Used by grids. The number of columns.
gridnbrows "" Used by grids. The number of rows.
min "" Used by numbers. The minimal value allowed.
max "" Used by numbers. The maximal value allowed.
step "" Used by numbers. The step between each values.
boxdesign "light" Used by lists. The style of the list. Can be primary, secondary, success, info, warning, danger, light or dark.
boxheader "" Used by lists. The list header.
columnswidths c(4, 4, 4) Used by columns. The widths of each columns.
columnspadding 10 Used by columns. The padding between each columns.
tabsnames [] Used by tabs. The name of the tabs.
tabscurrent 1 Used by tabs. The currently selected tab index.
progresscolor "#27ae60" Used by progress widgets. The color of the progress bar or circle.
progressdescription "%" Used by progress widgets. The text of the progress bar or circle.
graphtitle ""
graphx ""
graphy ""
intervalcode "" Used by R repeaters. The R Code to execute.
intervaltime 1000 Used by R repeaters. The interval in ms between each R execution.