prettyRadioButtonsFieldSet: Create a group of radio buttons with common input

View source: R/prettyRadioButtonsFieldSet.R

prettyRadioButtonsFieldSetR Documentation

Create a group of radio buttons with common input

Description

Create a group of radio buttons with common input

Usage

prettyRadioButtonsFieldSet(
  inputId,
  fieldSetData,
  label,
  selected = NULL,
  status = "primary",
  shape = c("round", "square", "curve"),
  outline = FALSE,
  fill = FALSE,
  thick = FALSE,
  animation = NULL,
  icon = NULL,
  plain = FALSE,
  bigger = FALSE,
  inline = FALSE,
  width = NULL
)

Arguments

inputId

The input slot that will be used to access the value.

fieldSetData

A tibble of values used to build group of radio buttons.

label

Display label for the control.

selected

The values that should be initially selected, (if not specified then defaults to the first value).

status

Add a class to the radio, you can use Bootstrap status like 'info', 'primary', 'danger', 'warning' or 'success'.

shape

Shape of the radio between square, curve and round.

outline

Color also the border of the radio (TRUE or FALSE).

fill

Fill the radio with color (TRUE or FALSE).

thick

Make the content inside radio smaller (TRUE or FALSE).

animation

Add an animation when radio is checked, a value between smooth, jelly, tada, rotate, pulse.

icon

Optional, display an icon on the radio, must be an icon created with icon.

plain

Remove the border when radio is checked (TRUE or FALSE).

bigger

Scale the radio a bit bigger (TRUE or FALSE).

inline

If TRUE, render the choices inline (i.e. horizontally).

width

The width of the input, e.g. '400px', or '100%'.

Value

returns original dataframe if threshold is met for each group member. If threshold not met, NULL is returned


cusom/CUSOM.ShinyHelpers documentation built on Oct. 23, 2023, 6:50 a.m.