<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>evolutionFeature jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75769/evolutionfeature-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>evolutionFeature jQuery Plugin</title><link>https://community.telligent.com/community/13/w/api-documentation/75769/evolutionfeature-jquery-plugin</link><pubDate>Fri, 08 Mar 2024 17:51:34 GMT</pubDate><guid isPermaLink="false">89b7f5cc-66ac-4b85-946a-e1093fe0c487</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75769/evolutionfeature-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:51:34&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.fn.evolutionFeature&lt;/h3&gt;
&lt;p&gt;This plugin supports rendering a feature toggle link that opens the create feature modal.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).evolutionFeature(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &amp;#39;SELECTOR&amp;#39; is a span.&lt;/p&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;contentId&lt;/code&gt;: (string) content ID&lt;/li&gt;
&lt;li&gt;&lt;code&gt;contentTypeId&lt;/code&gt;: (string) content type ID&lt;/li&gt;
&lt;li&gt;&lt;code&gt;typeId&lt;/code&gt;: (string) feature type ID&lt;/li&gt;
&lt;li&gt;&lt;code&gt;panelUrl&lt;/code&gt;: (string) url to open features explicit panel&lt;/li&gt;
&lt;li&gt;&lt;code&gt;contentTypeName&lt;/code&gt;: (string) the name of the content type&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;initialState&lt;/code&gt;: (boolean) content is featured
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;false&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;editFeatureText&lt;/code&gt;: Label for the edit feature link. &lt;code&gt;{content_type_name}&lt;/code&gt; is replaced with the content&amp;#39;s type name.
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Edit {content_type_name} feature&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;addFeatureText&lt;/code&gt;: Label for the add feature link. &lt;code&gt;{content_type_name}&lt;/code&gt; is replaced with the content&amp;#39;s type name.
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Feature {content_type_name}&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;p&gt;Given the following span to contain a feature control:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;span id=&amp;quot;featureControl&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The following will initialize a feature control, using defaults for most options&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var featureControl = $(&amp;#39;#featureControl&amp;#39;);
featureControl.evolutionFeature({
    initialState: true,  // content is featured
    contentId: &amp;#39;C512D1A1-ED6C-442D-BC9d-3587CD711D35&amp;#39;,
    contentTypeId: &amp;#39;F7D226AB-D59F-475C-9D22-4A79E3F0EC07&amp;#39;,
    contentTypeName: &amp;#39;Blog Post&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>