<?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: Pass Data from visual.ts to visual.less in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Pass-Data-from-visual-ts-to-visual-less/m-p/369580#M11018</link>
    <description>&lt;P&gt;There's no way to pass value from TypeScript code to LESS.&lt;/P&gt;
&lt;P&gt;As alternative you should generate an inline CSS style or apply your color to all of elements inline using JS (d3, jQuery).&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, 05 Mar 2018 08:11:43 GMT</pubDate>
    <dc:creator>v-viig</dc:creator>
    <dc:date>2018-03-05T08:11:43Z</dc:date>
    <item>
      <title>Pass Data from visual.ts to visual.less</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Pass-Data-from-visual-ts-to-visual-less/m-p/369266#M11010</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have the follwoing problem: I am getting a color from my options using a colorpicker in my custom visual. Now I want to pass this colorvalue from my visual.ts file to my visual.less file so I can use it in this file. How do I achieve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 04 Mar 2018 12:51:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Pass-Data-from-visual-ts-to-visual-less/m-p/369266#M11010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-04T12:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Pass Data from visual.ts to visual.less</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Pass-Data-from-visual-ts-to-visual-less/m-p/369580#M11018</link>
      <description>&lt;P&gt;There's no way to pass value from TypeScript code to LESS.&lt;/P&gt;
&lt;P&gt;As alternative you should generate an inline CSS style or apply your color to all of elements inline using JS (d3, jQuery).&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, 05 Mar 2018 08:11:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Pass-Data-from-visual-ts-to-visual-less/m-p/369580#M11018</guid>
      <dc:creator>v-viig</dc:creator>
      <dc:date>2018-03-05T08:11:43Z</dc:date>
    </item>
  </channel>
</rss>

