<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>glowColorSelector jQuery Plugin</title><link>https://community.telligent.com/community/11/w/api-documentation/67161/glowcolorselector-jquery-plugin</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>glowColorSelector jQuery Plugin</title><link>https://community.telligent.com/community/11/w/api-documentation/67161/glowcolorselector-jquery-plugin</link><pubDate>Tue, 19 Nov 2019 20:28:19 GMT</pubDate><guid isPermaLink="false">4d1f0aa0-5bda-464f-9a83-80871c91a051</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/11/w/api-documentation/67161/glowcolorselector-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 11/19/2019 20:28:19&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_fn_glowColorSelector" name="jQuery_fn_glowColorSelector"&gt;&lt;/a&gt;jQuery.fn.glowColorSelector&lt;/h3&gt;
&lt;p&gt;This plugin decorates a text input with a popup color selection tool.&lt;/p&gt;
&lt;h3&gt;&lt;a id="Usage" name="Usage"&gt;&lt;/a&gt;Usage&lt;/h3&gt;
&lt;p&gt;Initiate a selection of text inputs to display a color selection tool when focused.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;selector&amp;#39;).glowColorSelector(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where selector contains &lt;code&gt;&amp;lt;input type=&amp;quot;text&amp;quot; /&amp;gt;&lt;/code&gt; element(s) and &lt;code&gt;options&lt;/code&gt; is an optional object argument&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;blendImageUrl&lt;/code&gt;: image used as the background for color blending.  &lt;em&gt;Evolution pre-sets intelligent defaults&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;hueBlendImageUrl&lt;/code&gt;: image used as the background for hue blending.  &lt;em&gt;Evolution pre-sets intelligent defaults&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;alphaBlendImageUrl&lt;/code&gt;: image used as the background for alpha blending. &lt;em&gt;Evolution pre-sets intelligent defaults&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;transparentImageUrl&lt;/code&gt;: image used as a background to show transparency. &lt;em&gt;Evolution pre-sets intelligent defaults&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;zIndex&lt;/code&gt;: the z-index of the color selection popup. Defaults to 1000.&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;change&lt;/code&gt;: triggered on color selection&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="val" name="val"&gt;&lt;/a&gt;val&lt;/h4&gt;
&lt;p&gt;Retrieves and/or sets the current value of the color selector.  The value of the selected text input is also updated by the color selector.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// get the current color
var value = $(&amp;#39;selector&amp;#39;).glowColorSelector(&amp;#39;val&amp;#39;);

// set the current color to red
$(&amp;#39;selector&amp;#39;).glowColorSelector(&amp;#39;val&amp;#39;, &amp;#39;#FF0000&amp;#39;)
&lt;/code&gt;&lt;/pre&gt;

&lt;h4&gt;&lt;a id="disabled" name="disabled"&gt;&lt;/a&gt;disabled&lt;/h4&gt;
&lt;p&gt;Retrieves and/or sets whether the color selection popup is disabled.  When enabled, focusing on the input will pop open the color selector.  When disabled, it will not.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// get the current disabled state
var isDisabled = $(&amp;#39;selector&amp;#39;).glowColorSelector(&amp;#39;disabled&amp;#39;);

// set the disabled state
$(&amp;#39;selector&amp;#39;).glowColorSelector(&amp;#39;disabled&amp;#39;, false);
&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>