Tanks Mitchell for your time and quick responses!!!
Ok, I'm not clear now about the difference between use widgets or just xtypes.
When I define a component, I can use
or just .
Then I can use: in both cases. Correct?
Then, I've seen a code sample at API where it says that widgets allows to use the following:
So, what's the real difference between those options, and when it should be used? Is there any difference in performance? Can I just use xtype always to define my custom components, rather to use alias and widgets? Which is the advantage of alias and widgets?
// Using Ext.create
// Using the shorthand for widgets and in xtypes
Thanks again for your help!
Originally Posted by mitchellsimoens