mirror of
https://github.com/shoelace-style/shoelace.git
synced 2026-01-12 02:59:13 +00:00
Add Radio Group help-text slot documentation (#1818)
This commit is contained in:
@@ -28,6 +28,7 @@ import type SlRadioButton from '../radio-button/radio-button.js';
|
||||
* @slot - The default slot where `<sl-radio>` or `<sl-radio-button>` elements are placed.
|
||||
* @slot label - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label`
|
||||
* attribute.
|
||||
* @slot help-text - Text that describes how to use the radio group. Alternatively, you can use the `help-text` attribute.
|
||||
*
|
||||
* @event sl-change - Emitted when the radio group's selected value changes.
|
||||
* @event sl-input - Emitted when the radio group receives user input.
|
||||
|
||||
Reference in New Issue
Block a user