Remove sliding effect on sencha touch tabs -


i using tabs navigating different views.the views in 'xype' container. using function load different views

    ext.getcmp('contactcontainer').setactiveitem(2); 

but need remove sliding effect while new view called. how can done? using sencha touch 2

you can specify animation config "false". do.

like this:

ext.define('myapp.view.mytabpanel', {     extend: 'ext.tab.panel',      config: {         layout: {             animation: false,             type: 'card'         }, 

if using sencha architect, can select tab panel --> go config panel --> select animation field --> set 'false'


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -