docs update
This commit is contained in:
@@ -28,15 +28,15 @@ To get the iframe 100% working you need the following content-wrapper markup:
|
||||
```
|
||||
|
||||
##### Usage
|
||||
This plugin can be activated as a jQuery plugin or using the data api.
|
||||
This plugin can be activated as a jQuery plugin or using the data api.
|
||||
|
||||
###### Data API
|
||||
{: .text-bold }
|
||||
Activate the plugin by adding `data-widget="iframe"` to the `.content-wrapper`. If you need to provide onCheck and onUncheck methods, please use the jQuery API.
|
||||
Activate the plugin by adding `data-widget="iframe"` to the `.content-wrapper`. If you need to provide onCheck and onUncheck methods, please use the jQuery API.
|
||||
|
||||
###### jQuery
|
||||
{: .text-bold }
|
||||
The jQuery API provides more customizable options that allows the developer to handle checking and unchecking the todo list checkbox events.
|
||||
The jQuery API provides more customizable options that allows the developer to handle checking and unchecking the todo list checkbox events.
|
||||
```js
|
||||
$('.content-wrapper').IFrame({
|
||||
onTabClick(item) {
|
||||
@@ -73,7 +73,6 @@ $('.content-wrapper').IFrame({
|
||||
|allowDuplicates | Boolean | true | Whether to allow creation of duplicate tab/iframe.
|
||||
|loadingScreen | Boolean/Number | true | [Boolean] Whether to enable iframe loading screen; [Number] Set loading screen hide delay.
|
||||
|useNavbarItems | Boolean | true | Whether to open navbar menu items, instead of open only sidebar menu items.
|
||||
|
||||
|---
|
||||
{: .table .table-bordered .bg-light}
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@ layout: page
|
||||
title: Layout Plugin
|
||||
---
|
||||
|
||||
The layout plugin manages the layout in case of css failure to reset the height or width of the content.
|
||||
The layout plugin manages the layout in case of css failure to reset the height or width of the content.
|
||||
|
||||
##### Usage
|
||||
This plugin is activated automatically upon window load.
|
||||
This plugin is activated automatically upon window load.
|
||||
|
||||
##### Options
|
||||
{: .mt-4}
|
||||
@@ -18,6 +18,7 @@ This plugin is activated automatically upon window load.
|
||||
|scrollbarAutoHide | String | `l` | Scrollbar auto-hide trigger
|
||||
|panelAutoHeight | Boolean\|Numeric | true | Panel Height Correction (`true` = default correction on load/resize; numeric = offset the correction on load/resize)
|
||||
|panelAutoHeightMode | String | `min-height` | Panel Height Mode (`min-height` = sets the `min-height`-attribute to the content-wrapper; `height` = sets `height`-attribute to the content-wrapper)
|
||||
|preloadDuration | Integer | 200 | Preloader Duration (Set in milliseconds)
|
||||
|loginRegisterAutoHeight | Boolean\|Integer | true | Login & Register Height Correction (`true` = single correction on load; integer = correction with a interval based on the interger)
|
||||
|---
|
||||
{: .table .table-bordered .bg-light}
|
||||
|
||||
Reference in New Issue
Block a user