Page 1 of 1

[Ionic] Side Menu-Content Animation

Posted: Fri Mar 25, 2016 7:54 am
by taucher

Hello,

How can i make the side menu and content like this:

http://plnkr.co/edit/MrI5IhVSk7apFpR9...

And how can i add custom directive in Apperyio?

Thanks,


[Ionic] Side Menu-Content Animation

Posted: Fri Mar 25, 2016 10:08 am
by taucher

Hello,

I created a directive :

code
define(['require'], function() {

Code: Select all

 function directive_fallAway() { 
     return { 
         restrict: 'E', 
         replace: false, 
         link: function($scope, $element, $attr) { 

     $scope.$watch('sideMenuContentTranslateX', function() { 

       $element[0].style.webkitTransform = "scale(.75)&quot 
     }); 

 } 
     }; 
 } 
 return [{ 
     name: 'ionSideMenuContent', 
     type: 'directive', 
     deps: [directive_fallAway] 
 }]; 

});
/code

It is working as i want, but how can i make it work when side menu toggled?

Thanks,


[Ionic] Side Menu-Content Animation

Posted: Fri Mar 25, 2016 5:49 pm
by Serhii Kulibaba

Hello,

We are very sorry, but this is something outside the scope (http://devcenter.appery.io/support-po...) of our standard support.