diff --git a/docs/components/cards.md b/docs/components/cards.md index 3a05e9be1..bac251605 100644 --- a/docs/components/cards.md +++ b/docs/components/cards.md @@ -510,7 +510,7 @@ You can change the style of the card by adding any of the contextual classes. {: .text-bold .text-dark .mt-5} Cards can contain tools to deploy a specific event or provide simple info. The following examples makes use of multiple AdminLTE components within the header of the card. -AdminLTE data-widget attribute provides cards with the ability to collapse or be removed. The buttons are placed in the card-tools which is placed in the card-header. +AdminLTE data-card-widget attribute provides cards with the ability to collapse or be removed. The buttons are placed in the card-tools which is placed in the card-header. ```html
@@ -519,11 +519,11 @@ AdminLTE data-widget attribute provides cards with the ability to collapse or be
- + - + - +
diff --git a/docs/javascript/card-widget.md b/docs/javascript/card-widget.md index 47022fa85..ebf767710 100644 --- a/docs/javascript/card-widget.md +++ b/docs/javascript/card-widget.md @@ -149,8 +149,8 @@ $('#my-card').CardWidget(options) | Name | Type | Default | Description |-|-|-|- |animationSpeed | Number | 300 | Speed of slide down/up animation in milliseconds. -|collapseTrigger | String | `[data-card-widget="remove"]` | jQuery selector to the element responsible for collapsing the box. -|removeTrigger | String | `[data-card-widget="collapse"]` | jQuery selector to the element responsible for removing the box. +|collapseTrigger | String | `[data-card-widget="collapse"]` | jQuery selector to the element responsible for collapsing the box. +|removeTrigger | String | `[data-card-widget="remove"]` | jQuery selector to the element responsible for removing the box. |maximizeTrigger | String | `[data-card-widget="maximize"]` | jQuery selector to the element responsible for maximizing the box. {: .table .table-bordered .bg-light}