2010-01-23 40 views
0

我正在考虑在我最近的一个项目中使用ExtJS。但是,我正在努力如何在extJS中重现animate()和find()。我仍然是ExtJS的早期用户,因此我可能错过了一些东西。在ExtJS中是否有相当于Jquery的animate()和find()?

这是我想在ExtJS中重现的片段。

$(element) 
     .animate({ width: 50 }) 
     .find("img") 
     .animate({ width: 150 }) 
      .end() 
     .find("h1") 
     .animate({ fontSize: 20 }); 

干杯, 米奇

回答

0
+0

酷,谢谢。你知道是否有任何等价的孩子()像$(元素).children() – 2010-01-24 03:48:02

+0

简单 element.child('selector'); – user87731 2010-01-24 12:23:11

+0

我是指所有的孩子。在jquery中,有检索所有孩子的.children() – 2010-01-25 14:40:32

相关问题