diff --git a/site/content/docs/5.0/components/alerts.md b/site/content/docs/5.0/components/alerts.md index 96d8b9860..78b0e6280 100644 --- a/site/content/docs/5.0/components/alerts.md +++ b/site/content/docs/5.0/components/alerts.md @@ -103,7 +103,7 @@ var bsAlert = new bootstrap.Alert(myAlert) This makes an alert listen for click events on descendant elements which have the `data-bs-dismiss="alert"` attribute. (Not necessary when using the data-api's auto-initialization.) -{{< bs-table "table" >}} +{{< bs-table >}} | Method | Description | | --- | --- | | `close` | Closes an alert by removing it from the DOM. If the `.fade` and `.show` classes are present on the element, the alert will fade out before it is removed. | @@ -121,7 +121,7 @@ alert.close() Bootstrap's alert plugin exposes a few events for hooking into alert functionality. -{{< bs-table "table" >}} +{{< bs-table >}} | Event | Description | | --- | --- | | `close.bs.alert` | Fires immediately when the `close` instance method is called. | diff --git a/site/content/docs/5.0/components/carousel.md b/site/content/docs/5.0/components/carousel.md index a4da7f2e8..7d06394f3 100644 --- a/site/content/docs/5.0/components/carousel.md +++ b/site/content/docs/5.0/components/carousel.md @@ -272,7 +272,7 @@ var carousel = new bootstrap.Carousel(myCarousel) Options can be passed via data attributes or JavaScript. For data attributes, append the option name to `data-bs-`, as in `data-bs-interval=""`. -{{< bs-table "table" >}} +{{< bs-table >}} | Name | Type | Default | Description | | --- | --- | --- | --- | | `interval` | number | `5000` | The amount of time to delay between automatically cycling an item. If false, carousel will not automatically cycle. | @@ -299,7 +299,7 @@ var carousel = new bootstrap.Carousel(myCarousel, { }) ``` -{{< bs-table "table" >}} +{{< bs-table >}} | Method | Description | | --- | --- | | `cycle` | Cycles through the carousel items from left to right. | @@ -323,7 +323,7 @@ Bootstrap's carousel class exposes two events for hooking into carousel function All carousel events are fired at the carousel itself (i.e. at the `