From 96836c0f857d7ab94fe67bd184b80408d558e4a5 Mon Sep 17 00:00:00 2001 From: REJack Date: Wed, 30 Sep 2020 09:04:42 +0200 Subject: [PATCH] finish iframe docs --- docs/javascript/iframe.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/javascript/iframe.md b/docs/javascript/iframe.md index 281d155ec..f959c1318 100644 --- a/docs/javascript/iframe.md +++ b/docs/javascript/iframe.md @@ -82,14 +82,10 @@ $('.content-wrapper').IFrame({ |--- | Method | Description |-|- -onTabClick(item) -onTabChanged(item) -onTabCreated(item) -createTab(title, link, autoOpen) -openTabSidebar(item) -switchTab(item, loadingScreen = null) -setItemActive(href) -removeActiveTab() +|createTab| Create tab by title, link & uniqueName. Available arguments: title `String`, link `String`, uniqueName `String`, autoOpen `Boolean/Optional`. +|openTabSidebar| Create tab by sidebar menu item. Available arguments: item `String|jQuery Object`, autoOpen `Boolean/Optional`. +|switchTab| Switch tab by iframe tab navbar item. Available arguments: item `String|jQuery Object`. +|removeActiveTab| Remove active iframe tab. {: .table .table-bordered .bg-light} -Example: `$('.content-wrapper').IFrame('fixLayoutHeight')` +Example: `$('.content-wrapper').IFrame('createTab', 'Home', 'index.html, 'index', true)`