Skip to content

Commit

Permalink
docs: add a warning for deprecation in alert API page
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Bogdanov <[email protected]>
  • Loading branch information
bbogdanov committed Aug 5, 2020
1 parent 98b6521 commit c459633
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/website/components/alert/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ title: API
toc: true
---

<cds-alert-group type="default" status="warning">
<cds-alert closable><strong>Deprecation</strong>: Since v4, we will no longer handle setting `aria-live` and announcing the message for you by default. Based on the application use case, you can use the new `ClrAriaLiveService` to make announcements when they make sense for a user to hear about updates or loading status changes. This will result in of removing few inputs provided by the component such as `clrPolite`, `clrAssertive`, `clrOff`.
<cds-alert-actions>
</cds-alert-actions>
</cds-alert>
</cds-alert-group>

## Angular Components

{.section-header}
Expand Down

0 comments on commit c459633

Please sign in to comment.