开发者

Ext Js: attaching user objects to widgets

Is there a Ext Js API function or best practice or convention or attribute to attach user objects to Ext Js开发者_如何学Go widgets?


Anything you pass into the configuration object will be put as a property onto the Ext widget. There's no real convention as far as I'm aware.

If you want to get fancy you can have your user objects extend Ext.Component and define their ref property so there's some standardisation.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜