View source: R/wa_radio_group.R
| wa_radio_group | R Documentation |
wa-radio-group componentGenerated wrapper for the Web Awesome wa-radio-group component. When
used as a Shiny input, input$<input_id> reflects the component's
current value value.
Generated from Web Awesome metadata.
wa_radio_group(
input_id,
...,
class = NULL,
style = NULL,
value = NULL,
disabled = NULL,
label = NULL,
hint = NULL,
name = NULL,
custom_error = NULL,
dir = NULL,
lang = NULL,
orientation = NULL,
required = NULL,
size = NULL,
with_hint = NULL,
with_label = NULL,
hint_slot = NULL,
label_slot = NULL
)
input_id |
Shiny input id for the component. This is also used as
the rendered DOM |
... |
Child content for the component's default slot. |
class |
Optional CSS class string. |
style |
Optional inline CSS style string. |
value |
String. The default value of the form control. Primarily
used for resetting the form control. This wrapper argument sets the
HTML |
disabled |
Boolean. Default: |
label |
String. Default: |
hint |
String. Default: |
name |
String. Default: |
custom_error |
String. Default: |
dir |
String. Optional Web Awesome attribute. |
lang |
String. Optional Web Awesome attribute. |
orientation |
Enumerated string. Allowed values: |
required |
Boolean. Default: |
size |
Enumerated string. Allowed values: |
with_hint |
Boolean. Default: |
with_label |
Boolean. Default: |
hint_slot |
Text that describes how to use the radio group.
Alternatively, you can use the |
label_slot |
The radio group's label. Required for proper
accessibility. Alternatively, you can use the |
An HTML tag for the component.
input$<input_id> reflects the component's current value value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.