<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>uilinks jQuery Plugin</title><link>https://community.telligent.com/community/11/w/api-documentation/67175/uilinks-jquery-plugin</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>uilinks jQuery Plugin</title><link>https://community.telligent.com/community/11/w/api-documentation/67175/uilinks-jquery-plugin</link><pubDate>Tue, 19 Nov 2019 20:28:24 GMT</pubDate><guid isPermaLink="false">0f0014c0-8511-4723-9782-1698a6363a15</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/67175/uilinks-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:28:24&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_fn_uilinks" name="jQuery_fn_uilinks"&gt;&lt;/a&gt;jQuery.fn.uilinks&lt;/h3&gt;
&lt;p&gt;This plugin is a supplemental API to the [[links UI Component|ui-links]] UI component. While &lt;code&gt;ui-links&lt;/code&gt; enables declaring a dynamically-rendered set of links, this plugin enables modification of existing instances of ui-links from client code. The uilinks jQuery plugin does not support creating new instances of [[links UI Component|ui-links]] UI components.&lt;/p&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;pre&gt;&lt;code&gt;$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;add&amp;#39;, newLink, options);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Adds a new link to an existing [[links UI Component|ui-links]] instance.&lt;/p&gt;
&lt;p&gt;Options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;className&lt;/code&gt;: CSS class name to apply to the wrapper &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; when rendering links. This is equivalent to class names applies to &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; nodes when declaring ui-links. &lt;em&gt;(default: null)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;selected&lt;/code&gt;: When selected is selected, pre-scrolls the ui-links to the link. This is equivalent to the &lt;code&gt;data-selected&lt;/code&gt; &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; attribute when declaring a ui-links component. &lt;em&gt;(default: false)&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;a id="insert" name="insert"&gt;&lt;/a&gt;insert&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;insert&amp;#39;, newLink, index, options);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Adds a new link to an existing [[links UI Component|ui-links]] instance at the specified 0-based index.&lt;/p&gt;
&lt;p&gt;Options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;className&lt;/code&gt;: CSS class name to apply to the wrapper &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; when rendering links. This is equivalent to class names applies to &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; nodes when declaring ui-links. &lt;em&gt;(default: null)&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;selected&lt;/code&gt;: When selected is selected, pre-scrolls the ui-links to the link. This is equivalent to the &lt;code&gt;data-selected&lt;/code&gt; &lt;code&gt;&amp;lt;li&amp;gt;&lt;/code&gt; attribute when declaring a ui-links component. &lt;em&gt;(default: false)&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;&lt;a id="remove" name="remove"&gt;&lt;/a&gt;remove&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;remove&amp;#39;, selector);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Removes links matching a provided selector&lt;/p&gt;
&lt;h4&gt;&lt;a id="show" name="show"&gt;&lt;/a&gt;show&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;show&amp;#39;, target);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Shows the currently-hidden links. Equivalent to clicking &amp;#39;more&amp;#39;.
Target is an optional location at which to show the links. Defaults to the same place it would have by default&lt;/p&gt;
&lt;h4&gt;&lt;a id="hide" name="hide"&gt;&lt;/a&gt;hide&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;// Hide a specific ui-links
$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;hide&amp;#39;);

// Hide all ui-links
$.fn.uilinks.hide();
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Hides the open ui links.&lt;/p&gt;
&lt;h4&gt;&lt;a id="reconfigure" name="reconfigure"&gt;&lt;/a&gt;reconfigure&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;reconfigure&amp;#39;);
$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;reconfigure&amp;#39;, options);
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Reconfigures a rendered instance&amp;#39;s &lt;code&gt;minLinks&lt;/code&gt;, &lt;code&gt;maxLinks&lt;/code&gt;, and &lt;code&gt;direction&lt;/code&gt; properties. Properties can be passed explicitly in options or read from the current values of the &lt;code&gt;data-*&lt;/code&gt; attributes.&lt;/p&gt;
&lt;h4&gt;&lt;a id="list" name="list"&gt;&lt;/a&gt;list&lt;/h4&gt;
&lt;pre&gt;&lt;code&gt;// Lists all links
$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;list&amp;#39;);

// Lists hidden-only links
$(&amp;#39;selector.ui-links&amp;#39;).uilinks(&amp;#39;list&amp;#39;, { hidden: true });
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;&lt;a id="Related" name="Related"&gt;&lt;/a&gt;Related:&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;[[links UI Component|links]] UI Component&lt;/li&gt;
&lt;li&gt;[[ui.links.show Client Message|ui.links.show]] Client Message&lt;/li&gt;
&lt;li&gt;[[ui.links.hide Client Message|ui.links.hide]] Client Message&lt;/li&gt;
&lt;/ul&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>