finish iframe docs

pull/3069/head
REJack 2020-09-30 09:04:42 +02:00
parent a772df102d
commit 96836c0f85
1 changed files with 5 additions and 9 deletions

View File

@ -82,14 +82,10 @@ $('.content-wrapper').IFrame({
|--- |---
| Method | Description | Method | Description
|-|- |-|-
onTabClick(item) |createTab| Create tab by title, link & uniqueName. Available arguments: title `String`, link `String`, uniqueName `String`, autoOpen `Boolean/Optional`.
onTabChanged(item) |openTabSidebar| Create tab by sidebar menu item. Available arguments: item `String|jQuery Object`, autoOpen `Boolean/Optional`.
onTabCreated(item) |switchTab| Switch tab by iframe tab navbar item. Available arguments: item `String|jQuery Object`.
createTab(title, link, autoOpen) |removeActiveTab| Remove active iframe tab.
openTabSidebar(item)
switchTab(item, loadingScreen = null)
setItemActive(href)
removeActiveTab()
{: .table .table-bordered .bg-light} {: .table .table-bordered .bg-light}
Example: `$('.content-wrapper').IFrame('fixLayoutHeight')` Example: `$('.content-wrapper').IFrame('createTab', 'Home', 'index.html, 'index', true)`