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.
精彩评论