user3577949
user3577949

Reputation: 51

Using class name instead of xtype

Is is possible using a class name instead of xtype for lazy instantiation? So I have not to add Ext.require before creating objects.

Upvotes: 0

Views: 388

Answers (1)

Saki
Saki

Reputation: 5856

No, it is not but it doesn't matter as you would need requires even if it would be possible. Ext class variables are defined only after they are loaded and they are loaded only if they are in requires, views, uses, etc.

Upvotes: 1

Related Questions