Class Manager

create

Aliased to ExtSpec.create.

Returns an instance of class name x.
ExtSpec.ClassManager.create(x);
Returns an instance of class name x and injects pre-constructor function y.
ExtSpec.ClassManager.create(x, y);

callback

Returns the callback function for class name x.
ExtSpec.ClassManager.callback(x);

construct

Returns a constructor for class name x.
ExtSpec.ClassManager.construct(x);
Returns a constructor for class name x and injects pre-constructor function y.
ExtSpec.ClassManager.construct(x, y);

get

Returns the raw definition for class name x.
ExtSpec.ClassManager.get(x);

set

ExtSpec.ClassManager.set is aliased to Ext.define and should not be used directly.

Captures class name x with definition y.
ExtSpec.ClassManager.set(x, y);
Captures class name x with definition y and callback z.
ExtSpec.ClassManager.set(x, y, z);

Last edited Jun 21, 2013 at 10:33 AM by Qube, version 2

Comments

No comments yet.