2010-01-23 105 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

相關問題