Skip to content

Commit

Permalink
Align reorderSlotComponent description with earlier narrative text
Browse files Browse the repository at this point in the history
  • Loading branch information
stevepiercy committed Feb 28, 2024
1 parent 6eea733 commit 0942929
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/source/configuration/slots.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,9 @@ config.getSlotComponents(slot: string): string[]

### `reorderSlotComponent`

`reorderSlotComponent` reorders the list of slot components registered per slot.
`reorderSlotComponent` reorders the list of named group of slot components registered per slot.

Given a `slot` and the `name` of a slot component, you must either specify the desired `position` or perform an `action` to reposition the slot component in the given slot, but not both.
Given a `slot` and the `name` of grouped slot components, you must either specify the desired `position` or perform an `action` to reposition the slot component group in the given slot, but not both.

The available actions are `"after"`, `"before"`, `"first"`, and `"last"`.
`"first"` and `"last"` do not accept a `target`.
Expand Down

0 comments on commit 0942929

Please sign in to comment.