Skip to content

Commit

Permalink
Remove default class
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR committed Nov 2, 2020
1 parent 9d65d9c commit 785d15a
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
Expand Up @@ -106,7 +106,7 @@ var bsAlert = new bootstrap.Alert(myAlert)

This makes an alert listen for click events on descendant elements which have the `data-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. |
Expand All @@ -124,7 +124,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
Expand Up @@ -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-`, as in `data-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 All @@ -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. |
Expand All @@ -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 `<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
Expand Up @@ -184,7 +184,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 @@ -198,7 +198,7 @@ var bsCollapse = new bootstrap.Collapse(myCollapse, {

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
Expand Up @@ -872,7 +872,7 @@ Note when `boundary` is set to any value other than `'scrollParent'`, the style

### Methods

{{< bs-table "table" >}}
{{< bs-table >}}
| Method | Description |
| --- | --- |
| `toggle` | Toggles the dropdown menu of a given navbar or tabbed navigation. |
Expand All @@ -889,7 +889,7 @@ All dropdown events are fired at the `.dropdown-menu`'s parent element and have

`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
Expand Up @@ -436,7 +436,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
Expand Up @@ -889,7 +889,7 @@ var myModal = new bootstrap.Modal(document.getElementById('myModal'), {

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
Expand Up @@ -629,7 +629,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
Expand Up @@ -203,7 +203,7 @@ Options for individual popovers can alternatively be specified through the use o

### 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
Expand Up @@ -216,7 +216,7 @@ var tooltip = bootstrap.Tooltip.getInstance(exampleTriggerEl) // Returns a Boots

### 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
Expand Up @@ -55,7 +55,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 785d15a

Please sign in to comment.