开发者

Is there an equivalent of Jquery's animate() and find() in ExtJS?

开发者 https://www.devze.com 2022-12-17 17:34 出处:网络
I\'m thinking of using ExtJS in one of my latest project. However, I\'m struggling on how to reproduce animate() and find() in extJS. I\'m still an early user in ExtJS, hence I might missed out some s

I'm thinking of using ExtJS in one of my latest project. However, I'm struggling on how to reproduce animate() and find() in extJS. I'm still an early user in ExtJS, hence I might missed out some stuffs.

Here's a snippet that I would like to reproduce in ExtJS.

$(element)
        .animate({ width: 50 })
        .find("img")
        .animate({ width: 150 })
             .end()
        .find("h1")
  开发者_StackOverflow中文版      .animate({ fontSize: 20 });

Cheers, Mickey


Take a look in Ext FX and Ext Element (http://www.extjs.com/deploy/dev/docs/?class=Ext.Element)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号