taucher
Posts: 0
Joined: Fri Apr 17, 2015 6:06 am

[Ionic] Side Menu-Content Animation

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,

taucher
Posts: 0
Joined: Fri Apr 17, 2015 6:06 am

[Ionic] Side Menu-Content Animation

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,

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

[Ionic] Side Menu-Content Animation

Hello,

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

Return to “Issues”