Hi all,
I'd like to add some config options to the animation itself, the only way I can see to override the animation is to use show(), but this breaks more than it fixes:
Using the above the menu comes in from the wrong side, and eventually breaks all together after toggling a few times.
Modify toggleMenu animation config
I have a 2 menus (similar to Facebook, left and right) that slides in using toggleMenu(), like so:
Code:
Ext.Viewport.toggleMenu('left');
I'd like to add some config options to the animation itself, the only way I can see to override the animation is to use show(), but this breaks more than it fixes:
Code:
Ext.Viewport.getMenus().left.show({
type: 'slide'
});
Using the above the menu comes in from the wrong side, and eventually breaks all together after toggling a few times.
Does anybody know how to modify the enter/exit animation? For now all I want to do is add easing to the slide.
Thanks is advance!
Modify toggleMenu animation config
Aucun commentaire:
Enregistrer un commentaire