<?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/12/w/api-documentation/71742/poll-ui-component</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>poll UI Component</title><link>https://community.telligent.com/community/12/w/api-documentation/71742/poll-ui-component</link><pubDate>Fri, 15 Jan 2021 21:46:18 GMT</pubDate><guid isPermaLink="false">59c8e9ee-95ec-4183-9b7d-daa62b6b3d4e</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71742/poll-ui-component#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 01/15/2021 21:46:18&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>