<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>poll UI Component</title><link>https://community.telligent.com/community/13/w/api-documentation/75821/poll-ui-component</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>poll UI Component</title><link>https://community.telligent.com/community/13/w/api-documentation/75821/poll-ui-component</link><pubDate>Fri, 08 Mar 2024 17:52:12 GMT</pubDate><guid isPermaLink="false">43ae47e0-e709-434a-98d1-9ac325a200b2</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/13/w/api-documentation/75821/poll-ui-component#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 03/08/2024 17:52:12&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;jQuery.telligent.evolution.ui.components.poll&lt;/h3&gt;
&lt;p&gt;[[ui JavaScript API Module|UI Component]] which handles presentation of poll behavior for content. Transforms the output from &lt;code&gt;$core_v2_ui.Poll()&lt;/code&gt;, which is a &lt;code&gt;&amp;lt;span class=&amp;quot;ui-poll&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&lt;/code&gt; stub.  [[ui JavaScript API Module|Overrides can be provided]] at the theme level to present polls differently.&lt;/p&gt;
&lt;h3&gt;Options&lt;/h3&gt;
&lt;p&gt;Data made available to instances of the component:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&amp;#39;pollid&amp;#39;: (string) Poll Id Guid&lt;/li&gt;
&lt;li&gt;&amp;#39;reportUrl&amp;#39;: (string) Url to view vote report&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Example&lt;/h3&gt;
&lt;p&gt;A barebones UI component override which would result in rendering a read-only message of &amp;#39;Poll Id = &amp;#39; for a given call to &lt;code&gt;$core_v2_ui.Poll()&lt;/code&gt;.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$.telligent.evolution.ui.components.poll = {
    setup: function() {
    },
    add: function(elm, options) {
        $(elm).html(&amp;#39;PollId = &amp;#39; + options.PollId);
     }
  }
&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>