Skip to content

Commit

Permalink
docs: spelling fix in swatch-group docs
Browse files Browse the repository at this point in the history
  • Loading branch information
beeduul authored and Westbrook committed Jul 11, 2023
1 parent d70d0ae commit d244a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/swatch/swatch-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ An `<sp-swatch-group>` element can carry a selection of a `single` swatch or of

When the value of `selected` is updated via user input, the `change` event will be dispatched on the `<sp-swatch-group>` element to announce that interaction. Calling `preventDefault()` on the `chagne` event will prevent both the `<sp-swatch-group>` and the `<sp-swatch>` that initiated the `change` interaction from updating their `selected` values.

The value of `selected` can also be privited directly from the `<sp-swatch>` children. Child `<sp-swatch>` elements with their own `selected` attribute will be gathered and merged with any other selection data on the `<sp-swatch-group>` parent to populate `selected`.
The value of `selected` can also be provided directly from the `<sp-swatch>` children. Child `<sp-swatch>` elements with their own `selected` attribute will be gathered and merged with any other selection data on the `<sp-swatch-group>` parent to populate `selected`.

### Single

Expand Down

0 comments on commit d244a63

Please sign in to comment.