Remove references to custom events from latest/ docs
This commit is contained in:
@@ -492,11 +492,6 @@ The main listbox component.
|
||||
| `disabled` | `boolean` | Whether or not the listbox is disabled |
|
||||
| `open` | `boolean` | Whether or not the listbox is open |
|
||||
|
||||
This component also dispatches a custom event, which is listened to using the Svelte `on:` directive:
|
||||
|
||||
| Event name | Type of event `.detail` | Description |
|
||||
| ---------- | ----------------------- | ------------------------------------------------------------------------------------------------------------- |
|
||||
| `change` | `T` | Dispatched when a `ListboxOption` is selected; the event `detail` contains the `value` of the selected option |
|
||||
|
||||
### ListboxButton
|
||||
|
||||
|
||||
@@ -185,12 +185,6 @@ The main Radio Group component.
|
||||
| `disabled` | `false` | `boolean` | Whether the `RadioGroup` and all of its `RadioGroupOption`s are disabled |
|
||||
| `value` | -- | `T` \| `undefined` | The currently selected value in the `RadioGroup` |
|
||||
|
||||
This component also dispatches a custom event, which is listened to using the Svelte `on:` directive:
|
||||
|
||||
| Event name | Type of event `.detail` | Description |
|
||||
| ---------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
|
||||
| `change` | `T` | Dispatched when a `RadioGroupOption` is selected; the event `detail` contains the `value` of the selected option |
|
||||
|
||||
### RadioGroupOption
|
||||
|
||||
The wrapper component for each selectable option.
|
||||
|
||||
@@ -281,12 +281,6 @@ The main switch component.
|
||||
| --------- | --------- | ----------------------------- |
|
||||
| `checked` | `boolean` | Whether the switch is checked |
|
||||
|
||||
This component also dispatches a custom event, which is listened to using the Svelte `on:` directive:
|
||||
|
||||
| Event name | Type of event `.detail` | Description |
|
||||
| ---------- | ----------------------- | ---------------------------------------------------------------------------------------------- |
|
||||
| `change` | `T` | Dispatched when a `Switch` is toggled; the event `detail` contains the new value of the switch |
|
||||
|
||||
### SwitchLabel
|
||||
|
||||
A label that can be used for more control over the text your switch will announce to screenreaders. Renders an element that is linked to the `Switch` via the `aria-labelledby` attribute and an autogenerated id.
|
||||
|
||||
Reference in New Issue
Block a user