View source: R/components-generated.R
calcite_radio_button_group | R Documentation |
Create a RadioButtonGroup component
calcite_radio_button_group(...)
... |
named attributes passed to |
The following properties are provided by this component:
Name | Attribute | Description | Values | Reflects to Attribute |
disabled | disabled | When true , interaction is prevented and the component is displayed with lower opacity. | boolean | TRUE |
layout | layout | Defines the layout of the component. | "grid" | "horizontal" | "vertical" | TRUE |
name | name | Specifies the name of the component on form submission. Must be unique to other component instances. | string | TRUE |
required | required | When true and the component resides in a form, the component must have a value in order for the form to submit. | boolean | TRUE |
scale | scale | Specifies the size of the component. | "l" | "m" | "s" | TRUE |
selectedItem | NA | Specifies the component's selected item. | HTMLCalciteRadioButtonElement | FALSE |
status | status | Specifies the status of the validation message. | "idle" | "invalid" | "valid" | TRUE |
validationIcon | validation-icon | Specifies the validation icon to display under the component. | boolean | string | TRUE |
validationMessage | validation-message | Specifies the validation message to display under the component. | string | FALSE |
The following events are observed by shiny:
Event | Description |
calciteRadioButtonGroupChange | Fires when the component has changed. |
The following slots are provided by this component:
Slot | Description |
Default (unnamed) | A slot for adding calcite-radio-button s. |
an object of class calcite_component
which is a subclass of shiny.tag
calcite_radio_button_group()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.