<?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: Mashup with angular js css animations in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-with-angular-js-css-animations/m-p/1375806#M8135</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jasper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the suggestion, I have checked and it effectively works.&lt;/P&gt;&lt;P&gt;On the other hand I would like to keep the same application structure as it is in the file I provided: wihtout having to declare a new ng-app in the html. Do you think it would be possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This small app I provided was just an example: the real issue happened on much bigger application that was not possible to share and on which I am not able to use this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing that really surprised me was that until June2017 release everything worked fine (included animations) and I can't understand what has changed in September2017 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion will be very appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paolo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 06 Nov 2017 16:21:26 GMT</pubDate>
    <dc:creator>paoloderegibus</dc:creator>
    <dc:date>2017-11-06T16:21:26Z</dc:date>
    <item>
      <title>Mashup with angular js css animations</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-with-angular-js-css-animations/m-p/1375804#M8133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am developing a mashup using angular-js.&lt;/P&gt;&lt;P&gt;Some elements of the page are hidden and shown using ng-hide/ng-show/ng-if. I have recently added to these elements some animations using angular standard css classes you can use with each of the directive I mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything worked fine with June2017 release, but animations do not work with Septemeber2017 release.&lt;/P&gt;&lt;P&gt;I have attached a very simple mashup as an example. Also in this case everything is fine with Jun2017 release, but animations do not work (the element controlled by ng-if just appears and disappear) with Sep2017 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anybody found and solved this issue or if anybody knows what has been changed from Jun2017 to Sep2017 it would be much appriciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paolo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Oct 2017 09:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-with-angular-js-css-animations/m-p/1375804#M8133</guid>
      <dc:creator>paoloderegibus</dc:creator>
      <dc:date>2017-10-30T09:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup with angular js css animations</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-with-angular-js-css-animations/m-p/1375805#M8134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have done some changes to your code and was able to make it work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Updates to animazioni.js:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15094384670138603" jivemacro_uid="_15094384670138603"&gt;
&lt;P&gt;require( ["js/qlik"], function ( qlik ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qlik.setOnError( function ( error ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert( error.message );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qlik.setOnError( function ( error ) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $( "#errmsg" ).html( error.message ).parent().show();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //callbacks -- inserted here --&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //open apps -- inserted here --&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; angular.bootstrap( document, ["myApp", "qlik-angular"] );&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //get objects -- inserted here --&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //create cubes and lists -- inserted here --&lt;/P&gt;
&lt;P&gt;} );&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Updates to &amp;lt;STYLE&amp;gt; in animazioni.html:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15094386296868900" jivemacro_uid="_15094386296868900"&gt;
&lt;P&gt;&amp;lt;style&amp;gt;&lt;/P&gt;
&lt;P&gt;.animate-if {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; background:white;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; border:1px solid black;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; height:100px;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;.animate-if.ng-enter, .animate-if.ng-leave {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; transition:all linear 1s;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;.animate-if.ng-enter,&lt;/P&gt;
&lt;P&gt;.animate-if.ng-leave.ng-leave-active {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; opacity:0;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; height:0px;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;.animate-if.ng-leave,&lt;/P&gt;
&lt;P&gt;.animate-if.ng-enter.ng-enter-active {&lt;/P&gt;
&lt;P&gt;&amp;nbsp; opacity:1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; height:100px;&lt;/P&gt;
&lt;P&gt;}&lt;/P&gt;
&lt;P&gt;&amp;lt;/style&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Updates to &amp;lt;BODY&amp;gt; in animazioni.html:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_15094384992467480" jivemacro_uid="_15094384992467480"&gt;
&lt;P&gt;&amp;lt;div ng-app="myApp" ng-controller="ctrl" class="ng-scope"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;h1&amp;gt;Show the DIV: &amp;lt;input type="checkbox" ng-model="myCheck"&amp;gt;&amp;lt;/h1&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;lt;div id="my-div" class="animate-if" ng-model="checked" ng-init="checked=true" ng-click="hide()" ng-if="myCheck"&amp;gt;PROVA ANIMAZIONE&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;/div&amp;gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; angular.module('myApp', ['ngAnimate']).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; controller('ctrl', function(){});&lt;/P&gt;
&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;

&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Oct 2017 08:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-with-angular-js-css-animations/m-p/1375805#M8134</guid>
      <dc:creator>_jespers_</dc:creator>
      <dc:date>2017-10-31T08:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Mashup with angular js css animations</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-with-angular-js-css-animations/m-p/1375806#M8135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jasper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for the suggestion, I have checked and it effectively works.&lt;/P&gt;&lt;P&gt;On the other hand I would like to keep the same application structure as it is in the file I provided: wihtout having to declare a new ng-app in the html. Do you think it would be possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This small app I provided was just an example: the real issue happened on much bigger application that was not possible to share and on which I am not able to use this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing that really surprised me was that until June2017 release everything worked fine (included animations) and I can't understand what has changed in September2017 release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestion will be very appreciated.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Paolo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2017 16:21:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Mashup-with-angular-js-css-animations/m-p/1375806#M8135</guid>
      <dc:creator>paoloderegibus</dc:creator>
      <dc:date>2017-11-06T16:21:26Z</dc:date>
    </item>
  </channel>
</rss>

