<?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/13/w/api-documentation/75791/glowcolorselector-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>glowColorSelector jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75791/glowcolorselector-jquery-plugin</link><pubDate>Fri, 08 Mar 2024 17:51:44 GMT</pubDate><guid isPermaLink="false">ca882eee-0bbf-4376-8ebc-16e25c04468a</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75791/glowcolorselector-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:44&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&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;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;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;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;Methods&lt;/h3&gt;
&lt;h4&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;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>