Skip to content

Commit

Permalink
Remove default class
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and GeoSot committed Jun 29, 2021
1 parent cc666a2 commit 22d9860
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions site/content/docs/5.0/components/alerts.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ or on a button **outside the alert** using the `data-bs-target` as demonstrated

### 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. |
Expand All @@ -200,7 +200,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. |
Expand Down
6 changes: 3 additions & 3 deletions site/content/docs/5.0/components/carousel.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down Expand Up @@ -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. |
Expand All @@ -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. |
Expand Down
4 changes: 2 additions & 2 deletions site/content/docs/5.0/components/collapse.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,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). |
Expand All @@ -160,7 +160,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. |
Expand Down
4 changes: 2 additions & 2 deletions site/content/docs/5.0/components/dropdowns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand All @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/list-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/modal.md
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,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. |
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/navs-tabs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/popovers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/components/tooltips.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/utilities/display.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |
Expand Down

0 comments on commit 22d9860

Please sign in to comment.