<?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: call function on object jquery in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/365345#M813</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;&amp;nbsp;Ignat, I had tried a private message, it seems it had failed, I just retried now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JS&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 15:09:40 GMT</pubDate>
    <dc:creator>Js29</dc:creator>
    <dc:date>2018-02-26T15:09:40Z</dc:date>
    <item>
      <title>call function on object jquery</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/362276#M788</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am struggling to get a jquery scrip working.&lt;BR /&gt;I see my custom visual has the right div and structure.&lt;BR /&gt;I added the following to get jquery to work in an external js:&lt;BR /&gt;var jQuery = typeof jQuery !== 'undefined'&lt;BR /&gt;? jQuery&lt;BR /&gt;: window['$'];&lt;BR /&gt;&lt;BR /&gt;now I need to call a function something like :&lt;BR /&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;BR /&gt;$('#mycontainer').myinit();&lt;BR /&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;I could not find anything similar working in github and I am really struggling I get different kind of errors based on how/where I try to call this.&lt;/P&gt;&lt;P&gt;any tip please let me know&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 12:53:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/362276#M788</guid>
      <dc:creator>Js29</dc:creator>
      <dc:date>2018-02-21T12:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: call function on object jquery</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/362956#M791</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/55335"&gt;@Js29&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;jQuery works fine in most of cases.&lt;/P&gt;
&lt;P&gt;What errors did you get? Can you share the source code for deeper understanding?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2018 07:48:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/362956#M791</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-22T07:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: call function on object jquery</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/363209#M795</link>
      <description>&lt;P&gt;Thanks, sent you link in private message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;high level for everybody. as a test, I have the following in an external js which I expect to kick off once document is ready&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(function($) {
  console.log( "ready call flip!" );
  $("#card").flip();
}(jQuery));&lt;/PRE&gt;&lt;P&gt;and my constructor just has&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;this.host = options.host;
let cont=$('&amp;lt;div/&amp;gt;')
.addClass('ca-container').attr('id','card');
let c1= $('&amp;lt;div/&amp;gt;');
c1.addClass('front');
    c1.html(' TOTOTOTOTOTOTO');
cont.append(c1);
let c2= $('&amp;lt;div/&amp;gt;');
c2.addClass('back');
    c2.html(' _______________________');
cont.append(c2);
this.mycanvas = cont;&lt;/PRE&gt;</description>
      <pubDate>Thu, 22 Feb 2018 11:53:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/363209#M795</guid>
      <dc:creator>Js29</dc:creator>
      <dc:date>2018-02-22T11:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: call function on object jquery</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/365156#M808</link>
      <description>&lt;P&gt;Did you send source code via email?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 10:17:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/365156#M808</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-26T10:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: call function on object jquery</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/365345#M813</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/17823"&gt;@v-viig&lt;/a&gt;&amp;nbsp;Ignat, I had tried a private message, it seems it had failed, I just retried now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JS&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 15:09:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/365345#M813</guid>
      <dc:creator>Js29</dc:creator>
      <dc:date>2018-02-26T15:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: call function on object jquery</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/366780#M826</link>
      <description>&lt;P&gt;Hi JS,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Replied to you yesterday. Please check&amp;nbsp;your inbox.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please also consider sharing source code here to share the solution with community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Ignat Vilesov,&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Software Engineer&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt; color: #333333;"&gt;Microsoft Power BI Custom Visuals&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;A href="mailto:pbicvsupport@microsoft.com" target="_blank"&gt;&lt;SPAN&gt;pbicvsupport@microsoft.com&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 07:11:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/call-function-on-object-jquery/m-p/366780#M826</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-02-28T07:11:44Z</dc:date>
    </item>
  </channel>
</rss>

