wozznik / Slider-Menu

Sencha touch slider menu component (Facebook-like slide in menu)
32 stars 12 forks source link

Push and Pop Animations #11

Closed pyriand3r closed 11 years ago

pyriand3r commented 11 years ago

Hi there, your SlideMenu is really great, saved me lot of work to not having to implement it myself. But there is on thing i'm missing and cannot fix: The Maincard is based on an Ext.navigation.View which normaly has nice push and pop animations (left and right transition). With your SlideMenu the new View just appears and i can't figure out how to reactivate the animations. Can you help me on that?

pyriand3r commented 11 years ago

Sorry, found the solution right now :) always the same, after asking the question i find the solution myself...

To re-enable push and pop animations you have to set the animation-object inside the layouts-section:

layout: {
            type: 'card',
            animation: {
                duration: 300,
                easing: 'ease-in-out',
                type: 'slide',
                direction: 'left'
            }
wozznik commented 11 years ago

Hi, I'm not working on this project since a while, but hopefully I will be in touch again soon. Could you do a pull request? In order to merge your changes into the repo?

Thanks!