-
Notifications
You must be signed in to change notification settings - Fork 240
@uses
nene edited this page Mar 21, 2012
·
5 revisions
Synopsis:
@uses ClassName
Defines classes that the documented class uses.
Example:
/**
* @class Ext.panel.Table
* Basis of both TreePanel and GridPanel.
* @uses Ext.selection.RowModel
* @uses Ext.grid.header.Container
*/
This tag is auto-detected when class comment is right above Ext.define
which contains uses:
. The following code is equivalent of the above one:
/**
* Basis of both TreePanel and GridPanel.
*/
Ext.define("Ext.panel.Table", {
uses: [
"Ext.selection.RowModel",
"Ext.grid.header.Container"
]
});
Otherwise the auto-detection behaves just like with @alternateClassName tag.