PDA

View Full Version : Where can I find tab close animation at Sencha Docs



talha06
13 Nov 2012, 11:56 PM
Hello everyone,

I'd like to use the tab close animation at Sencha Docs. Does anyone know where to get it?
Thanks in advance.

tvanzoelen
14 Nov 2012, 12:42 AM
See: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.tab.Tab and look at the source code. There isnt any animation used in this class so I think it will not be in the docs as well.

You could override the class though and make it animate.

talha06
14 Nov 2012, 12:55 AM
TabCloseMenu is another extension that is used by Sencha Docs tabs. This is not defined in Ext.tab.Tab class. I just wanted to learn if there is a plugin for fade effect while closing tabs as it happens Sencha Docs.

tvanzoelen
14 Nov 2012, 1:27 AM
Thats an ux. But even there I do not see a plugin for that. Looking at the code of the docs, it looks like this behaviour is implemented in the application itself. You could try to see the sources of the docs for that, but .... wont be easy... it has no linefeeds.

youlei
8 Oct 2013, 4:39 PM
this is offical demo but can't find any useful code in offical sourcecode