<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>glowTabSet jQuery Plugin</title><link>https://community.telligent.com/community/11/w/api-documentation/67171/glowtabset-jquery-plugin</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>glowTabSet jQuery Plugin</title><link>https://community.telligent.com/community/11/w/api-documentation/67171/glowtabset-jquery-plugin</link><pubDate>Tue, 19 Nov 2019 20:29:37 GMT</pubDate><guid isPermaLink="false">ed7e9730-9fcd-43cb-af72-db6c516c21be</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/67171/glowtabset-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:29:37&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_fn_glowTabSet" name="jQuery_fn_glowTabSet"&gt;&lt;/a&gt;jQuery.fn.glowTabSet&lt;/h3&gt;
&lt;p&gt;Renders and manages a set of selectable tabs&lt;/p&gt;
&lt;h3&gt;&lt;a id="Usage" name="Usage"&gt;&lt;/a&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).glowTabSet(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &amp;#39;SELECTOR&amp;#39; contains div element(s) which will be used as tab container and the options object can contain:&lt;/p&gt;
&lt;h3&gt;&lt;a id="Options" name="Options"&gt;&lt;/a&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;cssClass&lt;/code&gt;: string class name applied to the containing div
&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 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;: tab URL (or &lt;code&gt;null&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;[3]&lt;/code&gt;: callback function when clicked&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;&lt;a id="Events" name="Events"&gt;&lt;/a&gt;Events&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;glowTabSetResize&lt;/code&gt; - triggered when modifications of the tab set result in a resize&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a id="Methods" name="Methods"&gt;&lt;/a&gt;Methods&lt;/h3&gt;
&lt;h4&gt;&lt;a id="add" name="add"&gt;&lt;/a&gt;add&lt;/h4&gt;
&lt;p&gt;Adds a new tab item to the tab set&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var tab = $(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;createTab&amp;#39;, {id:&amp;#39;id&amp;#39;,text:&amp;#39;text&amp;#39;});
$(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;add&amp;#39;, tab);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="remove" name="remove"&gt;&lt;/a&gt;remove&lt;/h4&gt;
&lt;p&gt;Removes a tab item from the tab set&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;remove&amp;#39;, tab);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="clear" name="clear"&gt;&lt;/a&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;).glowTabSet(&amp;#39;clear&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="insert" name="insert"&gt;&lt;/a&gt;insert&lt;/h4&gt;
&lt;p&gt;Adds a new tab item to the tab set at a specific index&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var tab = $(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&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;).glowTabSet(&amp;#39;add&amp;#39;, tab, index);
&lt;/code&gt;&lt;/pre&gt;

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

&lt;h4&gt;&lt;a id="getByText" name="getByText"&gt;&lt;/a&gt;getByText&lt;/h4&gt;
&lt;p&gt;Retrieves an existing tab by its display text&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var tab = $(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;getByText&amp;#39;, &amp;#39;text&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="getByIndex" name="getByIndex"&gt;&lt;/a&gt;getByIndex&lt;/h4&gt;
&lt;p&gt;Retrieves an existing tab by its indexed position&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var tab = $(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;getByIndex&amp;#39;, 3);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="count" name="count"&gt;&lt;/a&gt;count&lt;/h4&gt;
&lt;p&gt;Returns the count of available tabs&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var count = $(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;count&amp;#39;);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="selected" name="selected"&gt;&lt;/a&gt;selected&lt;/h4&gt;
&lt;p&gt;Gets and/or sets the currently selected tab item (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;).glowTabSet(&amp;#39;selected&amp;#39;);
$(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;selected&amp;#39;, tabToSelect);
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="createTab" name="createTab"&gt;&lt;/a&gt;createTab&lt;/h4&gt;
&lt;p&gt;Creates a new tab item suitable for adding/inserting into the tab set&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var tab = $(&amp;#39;SELECTOR&amp;#39;).glowTabSet(&amp;#39;createTab&amp;#39;, {
    id:&amp;#39;id&amp;#39;,
    text:&amp;#39;text&amp;#39;,
    url:&amp;#39;url&amp;#39;,
    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>