aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-11-02 15:59:59 +0200
committerXhmikosR <[email protected]>2021-08-23 18:30:42 +0300
commitb9df9b203cea50eaa3ca9d426f6fca4e99de7506 (patch)
tree60184f2797849ac36275fef47350ab148a2e02d0
parent5ca50cef78bffda6daebcb649c093e774a9b8f90 (diff)
downloadbootstrap-b9df9b203cea50eaa3ca9d426f6fca4e99de7506.tar.xz
bootstrap-b9df9b203cea50eaa3ca9d426f6fca4e99de7506.zip
Remove default class
-rw-r--r--site/content/docs/5.1/components/alerts.md4
-rw-r--r--site/content/docs/5.1/components/carousel.md6
-rw-r--r--site/content/docs/5.1/components/collapse.md4
-rw-r--r--site/content/docs/5.1/components/dropdowns.md4
-rw-r--r--site/content/docs/5.1/components/list-group.md2
-rw-r--r--site/content/docs/5.1/components/modal.md2
-rw-r--r--site/content/docs/5.1/components/navs-tabs.md2
-rw-r--r--site/content/docs/5.1/components/popovers.md2
-rw-r--r--site/content/docs/5.1/components/tooltips.md2
-rw-r--r--site/content/docs/5.1/utilities/display.md2
10 files changed, 15 insertions, 15 deletions
diff --git a/site/content/docs/5.1/components/alerts.md b/site/content/docs/5.1/components/alerts.md
index c3bcae9db..21855dd25 100644
--- a/site/content/docs/5.1/components/alerts.md
+++ b/site/content/docs/5.1/components/alerts.md
@@ -211,7 +211,7 @@ See the [triggers](#triggers) section for more details.
### Methods
-{{< 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. |
@@ -230,7 +230,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.1/components/carousel.md b/site/content/docs/5.1/components/carousel.md
index 418725b0b..9ccdf4538 100644
--- a/site/content/docs/5.1/components/carousel.md
+++ b/site/content/docs/5.1/components/carousel.md
@@ -310,7 +310,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. |
@@ -338,7 +338,7 @@ var carousel = new bootstrap.Carousel(myCarousel, {
})
```
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Method | Description |
| --- | --- |
| `cycle` | Cycles through the carousel items from left to right. |
@@ -363,7 +363,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 `<div class="carousel">`).
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event type | Description |
| --- | --- |
| `slide.bs.carousel` | Fires immediately when the `slide` instance method is invoked. |
diff --git a/site/content/docs/5.1/components/collapse.md b/site/content/docs/5.1/components/collapse.md
index ebef68ddf..c30c5c4ec 100644
--- a/site/content/docs/5.1/components/collapse.md
+++ b/site/content/docs/5.1/components/collapse.md
@@ -167,7 +167,7 @@ var bsCollapse = new bootstrap.Collapse(myCollapse, {
})
```
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Method | Description |
| --- | --- |
| `toggle` | Toggles a collapsible element to shown or hidden. **Returns to the caller before the collapsible element has actually been shown or hidden** (i.e. before the `shown.bs.collapse` or `hidden.bs.collapse` event occurs). |
@@ -183,7 +183,7 @@ You can use it like this: `bootstrap.Collapse.getOrCreateInstance(element)` |
Bootstrap's collapse class exposes a few events for hooking into collapse functionality.
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event type | Description |
| --- | --- |
| `show.bs.collapse` | This event fires immediately when the `show` instance method is called. |
diff --git a/site/content/docs/5.1/components/dropdowns.md b/site/content/docs/5.1/components/dropdowns.md
index e93774b8e..1c090f0c9 100644
--- a/site/content/docs/5.1/components/dropdowns.md
+++ b/site/content/docs/5.1/components/dropdowns.md
@@ -1054,7 +1054,7 @@ var dropdown = new bootstrap.Dropdown(element, {
### Methods
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Method | Description |
| --- | --- |
| `toggle` | Toggles the dropdown menu of a given navbar or tabbed navigation. |
@@ -1070,7 +1070,7 @@ var dropdown = new bootstrap.Dropdown(element, {
All dropdown events are fired at the toggling element and then bubbled up. So you can also add event listeners on the `.dropdown-menu`'s parent element. `hide.bs.dropdown` and `hidden.bs.dropdown` events have a `clickEvent` property (only when the original Event type is `click`) that contains an Event Object for the click event.
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event type | Description |
| --- | --- |
| `show.bs.dropdown` | Fires immediately when the show instance method is called. |
diff --git a/site/content/docs/5.1/components/list-group.md b/site/content/docs/5.1/components/list-group.md
index 51aaf352b..58ce96b02 100644
--- a/site/content/docs/5.1/components/list-group.md
+++ b/site/content/docs/5.1/components/list-group.md
@@ -504,7 +504,7 @@ When showing a new tab, the events fire in the following order:
If no tab was already active, the `hide.bs.tab` and `hidden.bs.tab` events will not be fired.
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event type | Description |
| --- | --- |
| `show.bs.tab` | This event fires on tab show, but before the new tab has been shown. Use `event.target` and `event.relatedTarget` to target the active tab and the previous active tab (if available) respectively. |
diff --git a/site/content/docs/5.1/components/modal.md b/site/content/docs/5.1/components/modal.md
index e333bef0a..dce4b8290 100644
--- a/site/content/docs/5.1/components/modal.md
+++ b/site/content/docs/5.1/components/modal.md
@@ -876,7 +876,7 @@ Also, you can pass a DOM element as an argument that can be received in the moda
Bootstrap's modal class exposes a few events for hooking into modal functionality. All modal events are fired at the modal itself (i.e. at the `<div class="modal">`).
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event | Description |
| --- | --- |
| `show.bs.modal` | This event fires immediately when the `show` instance method is called. If caused by a click, the clicked element is available as the `relatedTarget` property of the event. |
diff --git a/site/content/docs/5.1/components/navs-tabs.md b/site/content/docs/5.1/components/navs-tabs.md
index cc146a2d9..a9cc4e154 100644
--- a/site/content/docs/5.1/components/navs-tabs.md
+++ b/site/content/docs/5.1/components/navs-tabs.md
@@ -644,7 +644,7 @@ When showing a new tab, the events fire in the following order:
If no tab was already active, then the `hide.bs.tab` and `hidden.bs.tab` events will not be fired.
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event type | Description |
| --- | --- |
| `show.bs.tab` | This event fires on tab show, but before the new tab has been shown. Use `event.target` and `event.relatedTarget` to target the active tab and the previous active tab (if available) respectively. |
diff --git a/site/content/docs/5.1/components/popovers.md b/site/content/docs/5.1/components/popovers.md
index 23b021c18..09cbffad4 100644
--- a/site/content/docs/5.1/components/popovers.md
+++ b/site/content/docs/5.1/components/popovers.md
@@ -220,7 +220,7 @@ var popover = bootstrap.Popover.getOrCreateInstance(exampleTriggerEl) // Returns
### Events
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event | Description |
| --- | --- |
| `show.bs.popover` | This event fires immediately when the <code>show</code> instance method is called. |
diff --git a/site/content/docs/5.1/components/tooltips.md b/site/content/docs/5.1/components/tooltips.md
index f7de8a432..aa53a2684 100644
--- a/site/content/docs/5.1/components/tooltips.md
+++ b/site/content/docs/5.1/components/tooltips.md
@@ -254,7 +254,7 @@ var tooltip = bootstrap.Tooltip.getOrCreateInstance(exampleTriggerEl) // Returns
### Events
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Event | Description |
| --- | --- |
| `show.bs.tooltip` | This event fires immediately when the <code>show</code> instance method is called. |
diff --git a/site/content/docs/5.1/utilities/display.md b/site/content/docs/5.1/utilities/display.md
index b4eb44673..65eb333c7 100644
--- a/site/content/docs/5.1/utilities/display.md
+++ b/site/content/docs/5.1/utilities/display.md
@@ -56,7 +56,7 @@ To hide elements simply use the `.d-none` class or one of the `.d-{sm,md,lg,xl,x
To show an element only on a given interval of screen sizes you can combine one `.d-*-none` class with a `.d-*-*` class, for example `.d-none .d-md-block .d-xl-none .d-xxl-none` will hide the element for all screen sizes except on medium and large devices.
-{{< bs-table "table" >}}
+{{< bs-table >}}
| Screen size | Class |
| --- | --- |
| Hidden on all | `.d-none` |