updated docs

- fixed javascript/card-widget
- added new deps in dependencies
This commit is contained in:
REJack
2019-08-29 09:57:49 +02:00
parent 2865815c47
commit 6edd3d88d7
2 changed files with 5 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ This attribute, when attached to a button, allows the box to be maximize/minimiz
To activate any button using jQuery, you must provide the removeTrigger and collapseTrigger options. Otherwise, the plugin will assume the default `data-card-widget` selectors.
```js
$('#my-card').Widget(options)
$('#my-card').CardWidget(options)
```
##### Options
@@ -192,4 +192,4 @@ Example: `$('#my-card').on('expanded.lte.cardwidget', handleExpandedEvent)`
|toggleMaximize | Toggles the state of the card between maximized and minimized
{: .table .table-bordered .bg-light}
Example: `$('#my-card-widget').Widget('toggle')`
Example: `$('#my-card-widget').CardWidget('toggle')` or `$('#my-card').CardWidget('toggle')`