Skip to content

Commit d4d445c

Browse files
committed
Remove references to custom events from latest/ docs
1 parent 2b72ff3 commit d4d445c

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

src/routes/docs/latest/listbox.svx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,11 +492,6 @@ The main listbox component.
492492
| `disabled` | `boolean` | Whether or not the listbox is disabled |
493493
| `open` | `boolean` | Whether or not the listbox is open |
494494

495-
This component also dispatches a custom event, which is listened to using the Svelte `on:` directive:
496-
497-
| Event name | Type of event `.detail` | Description |
498-
| ---------- | ----------------------- | ------------------------------------------------------------------------------------------------------------- |
499-
| `change` | `T` | Dispatched when a `ListboxOption` is selected; the event `detail` contains the `value` of the selected option |
500495

501496
### ListboxButton
502497

src/routes/docs/latest/radio-group.svx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,6 @@ The main Radio Group component.
185185
| `disabled` | `false` | `boolean` | Whether the `RadioGroup` and all of its `RadioGroupOption`s are disabled |
186186
| `value` | -- | `T` \| `undefined` | The currently selected value in the `RadioGroup` |
187187

188-
This component also dispatches a custom event, which is listened to using the Svelte `on:` directive:
189-
190-
| Event name | Type of event `.detail` | Description |
191-
| ---------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- |
192-
| `change` | `T` | Dispatched when a `RadioGroupOption` is selected; the event `detail` contains the `value` of the selected option |
193-
194188
### RadioGroupOption
195189

196190
The wrapper component for each selectable option.

src/routes/docs/latest/switch.svx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -281,12 +281,6 @@ The main switch component.
281281
| --------- | --------- | ----------------------------- |
282282
| `checked` | `boolean` | Whether the switch is checked |
283283

284-
This component also dispatches a custom event, which is listened to using the Svelte `on:` directive:
285-
286-
| Event name | Type of event `.detail` | Description |
287-
| ---------- | ----------------------- | ---------------------------------------------------------------------------------------------- |
288-
| `change` | `T` | Dispatched when a `Switch` is toggled; the event `detail` contains the new value of the switch |
289-
290284
### SwitchLabel
291285

292286
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.

0 commit comments

Comments
 (0)