<?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 problem tooltip in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/problem-tooltip/m-p/2105802#M32144</link>
    <description>&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a custom visual and i'm trying to put a tooltip in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have a problem when I do the :&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;this.tooltipServiceWrapper = createTooltipServiceWrapper(this.host.tooltipService, options.element);&lt;/LI-CODE&gt;&lt;P&gt;In the constructor of my class Visual implements IVisual, I have an error in the console and my visual crash, my error is :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Uncaught ReferenceError: regeneratorRuntime is not defined&lt;/LI-CODE&gt;&lt;P&gt;And when I comment the line where I have a problem it works good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to solved it, someone can help me ?&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
    <pubDate>Wed, 29 Sep 2021 13:27:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-29T13:27:22Z</dc:date>
    <item>
      <title>problem tooltip</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/problem-tooltip/m-p/2105802#M32144</link>
      <description>&lt;P&gt;Hi !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to create a custom visual and i'm trying to put a tooltip in it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I have a problem when I do the :&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;this.tooltipServiceWrapper = createTooltipServiceWrapper(this.host.tooltipService, options.element);&lt;/LI-CODE&gt;&lt;P&gt;In the constructor of my class Visual implements IVisual, I have an error in the console and my visual crash, my error is :&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Uncaught ReferenceError: regeneratorRuntime is not defined&lt;/LI-CODE&gt;&lt;P&gt;And when I comment the line where I have a problem it works good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how to solved it, someone can help me ?&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 13:27:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/problem-tooltip/m-p/2105802#M32144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-29T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: problem tooltip</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/problem-tooltip/m-p/2106512#M32147</link>
      <description>&lt;P&gt;Hi @Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Run the following for your plugin's root folder:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;npm i regenerator-runtime --save-dev&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And then add the following at the top of your visual.ts, underneath &lt;FONT face="courier new,courier"&gt;import 'core-js/stable';&lt;/FONT&gt;&amp;nbsp;and before &lt;FONT face="courier new,courier"&gt;import '../style/visual.less';&lt;/FONT&gt;, e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;...
import 'core-js/stable';
import 'regenerator-runtime/runtime'; /* Right here */
import '../style/visual.less';
...&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you re-run &lt;FONT face="courier new,courier"&gt;pbiviz start&lt;/FONT&gt; and re-check your visual, this error will go away as the necessary runtime is included in your build. Then, in the true spirit of coding it's onto the next error (but hopefully not) &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Good luck!&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 29 Sep 2021 21:46:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/problem-tooltip/m-p/2106512#M32147</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2021-09-29T21:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: problem tooltip</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/problem-tooltip/m-p/2107441#M32158</link>
      <description>&lt;P&gt;It works ! Thanks a lot ! (I have another error now but i'm trying to fix it).&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 07:02:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/problem-tooltip/m-p/2107441#M32158</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-30T07:02:58Z</dc:date>
    </item>
  </channel>
</rss>

