Skip to content

Commit

Permalink
docs(angular/toggle): clarify that first option will be selected by d…
Browse files Browse the repository at this point in the history
…efault (#2042)

Closes #2041
  • Loading branch information
mhaertwig authored and github-actions committed Oct 10, 2023
1 parent ffcbf60 commit 9753822
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/angular/toggle/toggle.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ The `<sbb-toggle>` component offers the user a choice of exactly two options
</sbb-toggle>
```

The specification states that if no previous selection has been defined the first option is selected automatically.
In this case a change event is fired to notify about the automatic selection.

### Subtitle

A `<sbb-toggle-option>` can have an optional subtitle, which will be shown below the label.
Expand Down

0 comments on commit 9753822

Please sign in to comment.