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
Post a Comment