PDA

View Full Version : EXTJS_4X How I implement tab.panel add close with animation



youlei
8 Oct 2013, 1:05 AM
when i use official api i find a special style about tab add or close with animation but i search many docs there is not any configs about this , anyone any help me to implement this function
i am came from china my express is weakness


thinks best regards

Gary Schlosberg
11 Oct 2013, 3:54 PM
Perhaps you are looking for this:
http://docs.sencha.com/extjs/4.2.1/#...g-animCollapse (http://docs.sencha.com/extjs/4.2.1/#%21/api/Ext.tab.Panel-cfg-animCollapse)

youlei
15 Oct 2013, 10:36 PM
Perhaps you are looking for this:
http://docs.sencha.com/extjs/4.2.1/#...g-animCollapse (http://docs.sencha.com/extjs/4.2.1/#%21/api/Ext.tab.Panel-cfg-animCollapse)

:):)think you i ever try it but don't work on extjs_4.0.7 ,

i never see anyone implement this funcion except sencha offical doc
anyone who can help me

Gary Schlosberg
16 Oct 2013, 4:38 AM
Sorry, I haven't had much need to play with that setting, but here's the docs for 4.0.7:
http://docs.sencha.com/extjs/4.0.7/#!/api/Ext.panel.Panel-cfg-animCollapse