<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>evolutionInlineTagEditor jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71695/evolutioninlinetageditor-jquery-plugin</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>evolutionInlineTagEditor jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71695/evolutioninlinetageditor-jquery-plugin</link><pubDate>Thu, 02 Jun 2022 15:18:37 GMT</pubDate><guid isPermaLink="false">c92907b2-0551-4431-b329-b91c84d99de1</guid><dc:creator>Former Member</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71695/evolutioninlinetageditor-jquery-plugin#comments</comments><description>Current Revision posted to API Documentation by Former Member on 06/02/2022 15:18:37&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;&lt;a id="jQuery_fn_evolutionInlineTagEditor" name="jQuery_fn_evolutionInlineTagEditor"&gt;&lt;/a&gt;jQuery.fn.evolutionInlineTagEditor&lt;/h3&gt;
&lt;p&gt;This plugin supports rendering a tag editor supporing editing and selecting of tags.&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;).evolutionTagEditor(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &amp;#39;SELECTOR&amp;#39; is an a, span, or div tag.&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;allTags&lt;/code&gt;: (array of strings) List of all tags available in this context
&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;currentTags&lt;/code&gt;: (array of strings) List of tags associated to the current content
&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;editorCssClass&lt;/code&gt;: (string) CSS class applied to the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;tags-editor&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;editButtonText&lt;/code&gt;: (string) Label for the element identified by the selector, to open the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Edit&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;selectTagsText&lt;/code&gt;: (boolean) Label to open the tag selector within the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Select Tags&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;saveTagsText&lt;/code&gt;: Label for the save button on the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Save&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cancelText&lt;/code&gt;: Label for the cancel button on the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Cancel&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;onSave&lt;/code&gt;: (function) callback function when tags are saved. The function is passed an array of strings (the list of tags) and a callback function to be called when saving is complete.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;&lt;a id="Example" name="Example"&gt;&lt;/a&gt;Example&lt;/h3&gt;
&lt;p&gt;Given the following span to contain a inline tag editor control:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;a id=&amp;quot;inlineTagEditorControl&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The following will initialize an inline tag editor control, using defaults for most options&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var inlineTagEditorControl = $(&amp;#39;#inlineTagEditorControl&amp;#39;);
inlineTagEditorControl.evolutionInlineTagEditor({
    allTags: ['tag1', 'tag2', 'tag3'],
    currentTags: ['tag2']
    onSave: function(tags, callback) {
        alert(&amp;#39;Saving tags: &amp;#39; + tags.join(&amp;#39;, &amp;#39;));

        // ...perform AJAX-based saving of tags here...

        // After a successful save, callback to notify the inline tag editor plugin
        callback();
    }
});
&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><item><title>evolutionInlineTagEditor jQuery Plugin</title><link>https://community.telligent.com/community/12/w/api-documentation/71695/evolutioninlinetageditor-jquery-plugin/revision/1</link><pubDate>Fri, 15 Jan 2021 21:46:02 GMT</pubDate><guid isPermaLink="false">c92907b2-0551-4431-b329-b91c84d99de1</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71695/evolutioninlinetageditor-jquery-plugin#comments</comments><description>Revision 1 posted to API Documentation by Ben Tiedt on 01/15/2021 21:46:02&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.fn.evolutionInlineTagEditor&lt;/h3&gt;
&lt;p&gt;This plugin supports rendering a tag editor supporing editing and selecting of tags.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;$(&amp;#39;SELECTOR&amp;#39;).evolutionTagEditor(options)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;where &amp;#39;SELECTOR&amp;#39; is an a, span, or div tag.&lt;/p&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;allTags&lt;/code&gt;: (array of strings) List of all tags available in this context
&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;currentTags&lt;/code&gt;: (array of strings) List of tags associated to the current content
&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;editorCssClass&lt;/code&gt;: (string) CSS class applied to the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;tags-editor&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;editButtonText&lt;/code&gt;: (string) Label for the element identified by the selector, to open the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Edit&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;selectTagsText&lt;/code&gt;: (boolean) Label to open the tag selector within the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Select Tags&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;saveTagsText&lt;/code&gt;: Label for the save button on the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Save&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;cancelText&lt;/code&gt;: Label for the cancel button on the editor pop-up
&lt;ul&gt;
&lt;li&gt;default &lt;code&gt;&amp;#39;Cancel&amp;#39;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;onSave&lt;/code&gt;: (function) callback function when tags are saved. The function is passed an array of strings (the list of tags) and a callback function to be called when saving is complete.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;p&gt;Given the following span to contain a inline tag editor control:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;&amp;lt;a id=&amp;quot;inlineTagEditorControl&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;The following will initialize an inline tag editor control, using defaults for most options&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;var inlineTagEditorControl = $(&amp;#39;#inlineTagEditorControl&amp;#39;);
inlineTagEditorControl.evolutionInlineTagEditor({
    allTags: ['tag1', 'tag2', 'tag3'],
    currentTags: ['tag2']
    onSave: function(tags, callback) {
        alert(&amp;#39;Saving tags: &amp;#39; + tags.join(&amp;#39;, &amp;#39;));

        // ...perform AJAX-based saving of tags here...

        // After a successful save, callback to notify the inline tag editor plugin
        callback();
    }
});
&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>