<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Is it possible to detect when the last qlik element is completely rendered? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-detect-when-the-last-qlik-element-is/m-p/1437412#M9056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;The getObject promise resolves when the object is created, in most cases before it is completely rendered, but do you really need to wait until rendering is complete before adding the listeners? You could probably increment a counter when you call getObject and decrement it when the promise resolves, but there is no rendering complete event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Aug 2017 04:38:51 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2017-08-22T04:38:51Z</dc:date>
    <item>
      <title>Is it possible to detect when the last qlik element is completely rendered?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-detect-when-the-last-qlik-element-is/m-p/1437411#M9055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering if there is a way to schedule my code to be executed after the last qlik element on the website is rendered. &lt;/P&gt;&lt;P&gt;I want to add some listeners to different objects and I have to make sure they exist when I do so.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK the getObject() function returns a promise but is there also a posibility to detect when the last object is done rendering?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad for any ideas on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-detect-when-the-last-qlik-element-is/m-p/1437411#M9055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T12:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to detect when the last qlik element is completely rendered?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-detect-when-the-last-qlik-element-is/m-p/1437412#M9056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;The getObject promise resolves when the object is created, in most cases before it is completely rendered, but do you really need to wait until rendering is complete before adding the listeners? You could probably increment a counter when you call getObject and decrement it when the promise resolves, but there is no rendering complete event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 04:38:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Is-it-possible-to-detect-when-the-last-qlik-element-is/m-p/1437412#M9056</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2017-08-22T04:38:51Z</dc:date>
    </item>
  </channel>
</rss>

