<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>glowTabbedPanes jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75801/glowtabbedpanes-jquery-plugin</link><description>&lt;p&gt;&lt;span&gt;Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.&lt;/span&gt;&lt;/p&gt;</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>glowTabbedPanes jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75801/glowtabbedpanes-jquery-plugin</link><pubDate>Fri, 08 Mar 2024 17:51:48 GMT</pubDate><guid isPermaLink="false">36feaef2-68f5-43d7-9597-3566a4806b4a</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75801/glowtabbedpanes-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:48&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.fn.glowTabbedPanes&lt;/h3&gt;
&lt;p&gt;Renders and manages a set of selectable tab panes&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &amp;#39;SELECTOR&amp;#39; contains a div element whose child child div elements are rendered as tab pane contents&lt;/p&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;cssClass&lt;/code&gt;: string class name applied to the div wrapping the tab panes
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;empty string&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tabSetCssClass&lt;/code&gt;: string class name applied to the div wrapping the tabs
&lt;ul&gt;
&lt;li&gt;default: &lt;em&gt;empty string&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tabCssClasses&lt;/code&gt;: array of string classes to apply to tabs.  The first class is applied to the rendered link for the tab.  Any subsequent classes are transformed into nested &lt;code&gt;div&lt;/code&gt; elements within the tab with the class names applied, one-per-class.
&lt;ul&gt;
&lt;li&gt;default: &lt;code&gt;[]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tabSelectedCssClasses&lt;/code&gt;: array of string classes to apply to selected tabs.  The first class is applied to the rendered link for the tab.  Any subsequent classes are transformed into nested &lt;code&gt;div&lt;/code&gt; elements within the tab with the class names applied, one-per-class.
&lt;ul&gt;
&lt;li&gt;default: &lt;code&gt;[]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tabHoverCssClasses&lt;/code&gt;: array of string classes to apply to hovered tabs.  The first class is applied to the rendered link for the tab.  Any subsequent classes are transformed into nested &lt;code&gt;div&lt;/code&gt; elements within the tab with the class names applied, one-per-class.
&lt;ul&gt;
&lt;li&gt;default: &lt;code&gt;[]&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;enableResizing&lt;/code&gt;: boolean value of whether to allow resizing of the tab set
&lt;ul&gt;
&lt;li&gt;default: &lt;code&gt;true&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;tabs&lt;/code&gt;: declarative array of tab items.  Each tab is matched by array index position to a child div of the selector as that tab&amp;#39;s content.  Each tab item is, itself, an array of the following format:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;[0]&lt;/code&gt;: tab id string&lt;/li&gt;
&lt;li&gt;&lt;code&gt;[1]&lt;/code&gt;: tab displaly text&lt;/li&gt;
&lt;li&gt;&lt;code&gt;[2]&lt;/code&gt;: callback function when clicked&lt;/li&gt;
&lt;li&gt;&lt;code&gt;[3]&lt;/code&gt;: boolean value of whether tab is disabled&lt;/li&gt;
&lt;li&gt;&lt;code&gt;[4]&lt;/code&gt;: specific string class name applied to this tab&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Events&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;glowTabbedPanesResize&lt;/code&gt; - triggered when modifications of the tabbed panes result in a resize&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Methods&lt;/h3&gt;
&lt;h4&gt;add&lt;/h4&gt;
&lt;p&gt;Adds a new pane to the tabbed panes&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var pane = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;createTab&amp;#39;, {id:&amp;#39;id&amp;#39;,text:&amp;#39;text&amp;#39;});
$(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;add&amp;#39;, pane);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;remove&lt;/h4&gt;
&lt;p&gt;Removes a pane from the tabbed panes.  Optional second boolean parameter declares whether to preserve the tab&amp;#39;s content.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;remove&amp;#39;, pane);        // preserves content by default
$(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;remove&amp;#39;, pane, false); // do not preserve tab content
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;clear&lt;/h4&gt;
&lt;p&gt;Removes all tab items from the tab set&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;clear&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;insert&lt;/h4&gt;
&lt;p&gt;Adds a new pane to the tabbed panes at a specific index&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var pane = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;createTab&amp;#39;, {id:&amp;#39;id&amp;#39;,text:&amp;#39;text&amp;#39;});
var index = 3;
$(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;add&amp;#39;, pane, index);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;getById&lt;/h4&gt;
&lt;p&gt;Retrieves an existing pane by its id&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var pane = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;getById&amp;#39;, &amp;#39;tabId&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;getByText&lt;/h4&gt;
&lt;p&gt;Retrieves an existing pane by its display text&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var pane = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;getByText&amp;#39;, &amp;#39;text&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;getByIndex&lt;/h4&gt;
&lt;p&gt;Retrieves an existing pane by its indexed position&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var pane = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;getByIndex&amp;#39;, 3);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;count&lt;/h4&gt;
&lt;p&gt;Returns the count of available panes&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var count = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;count&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;selected&lt;/h4&gt;
&lt;p&gt;Gets and/or sets the currently selected tab pane (or &lt;code&gt;null&lt;/code&gt; if not selected.)&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var currentlySelectedTab = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;selected&amp;#39;);
$(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;selected&amp;#39;, tabToSelect);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;createTab&lt;/h4&gt;
&lt;p&gt;Creates a new tab pane tab suitable for adding/inserting into the tab set&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var pane = $(&amp;#39;SELECTOR&amp;#39;).glowTabbedPanes(&amp;#39;createTab&amp;#39;, {
    id:&amp;#39;id&amp;#39;,
    text:&amp;#39;text&amp;#39;,
    disabled:false,
    onClick:function(){},
    cssClass:&amp;#39;perTabClass&amp;#39;});
&lt;/code&gt;&lt;/pre&gt;

&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>