Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
85 changed files
with
290 additions
and
218 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
List of short aliases for class names. Most useful for defining xtypes for widgets: | ||
|
||
Ext.define('MyApp.CoolPanel', { | ||
extend: 'Ext.panel.Panel', | ||
alias: ['widget.coolpanel'], | ||
title: 'Yeah!' | ||
}); | ||
|
||
// Using Ext.create | ||
Ext.create('widget.coolpanel'); | ||
|
||
// Using the shorthand for defining widgets by xtype | ||
Ext.widget('panel', { | ||
items: [ | ||
{xtype: 'coolpanel', html: 'Foo'}, | ||
{xtype: 'coolpanel', html: 'Bar'} | ||
] | ||
}); | ||
|
||
Besides "widget" for xtype there are alias namespaces like "feature" for ftype and "plugin" for ptype. |
14 changes: 14 additions & 0 deletions
14
docs/api.conf/locale/en/Ext.Class/config/alternateClassName/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Defines alternate names for this class. For example: | ||
|
||
Ext.define('Developer', { | ||
alternateClassName: ['Coder', 'Hacker'], | ||
code: function(msg) { | ||
alert('Typing... ' + msg); | ||
} | ||
}); | ||
|
||
var joe = Ext.create('Developer'); | ||
joe.code('stackoverflow'); | ||
|
||
var rms = Ext.create('Hacker'); | ||
rms.code('hack hack'); |
10 changes: 10 additions & 0 deletions
10
docs/api.conf/locale/en/Ext.Class/config/singleton/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
When set to true, the class will be instantiated as singleton. For example: | ||
|
||
Ext.define('Logger', { | ||
singleton: true, | ||
log: function(msg) { | ||
console.log(msg); | ||
} | ||
}); | ||
|
||
Logger.log('Hello'); |
Empty file.
5 changes: 5 additions & 0 deletions
5
docs/api.conf/locale/en/Ext.ClassManager/method/create/create/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Defines a class. | ||
|
||
@deprecated 4.1.0 Use | ||
<a href="#!/api/Ext-method-define" rel="Ext-method-define" class="docClass" id="ext-gen1325">Ext.define</a> | ||
instead, as that also supports creating overrides. |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/createNamespaces/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The new Ext.ns, supports namespace rewriting |
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Retrieve a class by its name. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
class |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getAliasesByName/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Get the aliases of a class by the class name |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getAliasesByName/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
aliases |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getByAlias/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Get a reference to the class by its alias. |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getByAlias/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
class |
7 changes: 7 additions & 0 deletions
7
docs/api.conf/locale/en/Ext.ClassManager/method/getClass/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Get the class of the provided object; returns null if it's not an instance | ||
of any class created with Ext.define. This is usually invoked by the shorthand | ||
<a href="#!/api/Ext-method-getClass" rel="Ext-method-getClass" class="docClass" id="ext-gen1292">Ext.getClass</a> | ||
|
||
var component = new Ext.Component(); | ||
|
||
Ext.ClassManager.getClass(component); // returns Ext.Component |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getClass/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
class |
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions
4
docs/api.conf/locale/en/Ext.ClassManager/method/getName/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Get the name of the class by its reference or its instance; | ||
usually invoked by the shorthand {@link Ext#getClassName Ext.getClassName} | ||
|
||
Ext.ClassManager.getName(Ext.Action); // returns "Ext.Action" |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getName/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
className |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getNameByAlias/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Get the name of a class by its alias. |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getNameByAlias/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
className |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getNameByAlternate/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Get the name of a class by its alternate name. |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getNameByAlternate/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
className |
11 changes: 11 additions & 0 deletions
11
docs/api.conf/locale/en/Ext.ClassManager/method/getNamesByExpression/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Converts a string expression to an array of matching class names. An expression can either refers to class aliases | ||
or class names. Expressions support wildcards: | ||
|
||
// returns ['Ext.window.Window'] | ||
var window = Ext.ClassManager.getNamesByExpression('widget.window'); | ||
|
||
// returns ['widget.panel', 'widget.window', ...] | ||
var allWidgets = Ext.ClassManager.getNamesByExpression('widget.*'); | ||
|
||
// returns ['Ext.data.Store', 'Ext.data.ArrayProxy', ...] | ||
var allData = Ext.ClassManager.getNamesByExpression('Ext.data.*'); |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/getNamesByExpression/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
classNames |
10 changes: 10 additions & 0 deletions
10
docs/api.conf/locale/en/Ext.ClassManager/method/instantiateByAlias/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Instantiate a class by its alias; usually invoked by the convenient shorthand | ||
<a href="#!/api/Ext-method-createByAlias" rel="Ext-method-createByAlias" class="docClass" id="ext-gen1353">Ext.createByAlias</a> | ||
If | ||
<a href="#!/api/Ext.Loader" rel="Ext.Loader" class="docClass" id="ext-gen1357">Ext.Loader</a> | ||
is | ||
<a href="#!/api/Ext.Loader-method-setConfig" rel="Ext.Loader-method-setConfig" class="docClass" id="ext-gen1351">enabled</a> | ||
and the class has not been defined yet, it will | ||
attempt to load the class via synchronous loading. | ||
|
||
var window = Ext.ClassManager.instantiateByAlias('widget.window', { width: 600, height: 800, ... }); |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/instantiateByAlias/param/args.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Additional arguments after the alias will be passed to the class constructor. |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/instantiateByAlias/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
instance |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/isCreated/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Checks if a class has already been created. |
Empty file.
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/isCreated/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
exist |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/registerPostprocessor/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Register a post-processor function. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Sets a name reference to a class. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
this |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/setAlias/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Register the alias for a class. |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/setAlias/param/alias.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Alias to use when referring to this class |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/setAlias/param/cls.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
a reference to a class or a className |
2 changes: 2 additions & 0 deletions
2
....conf/locale/en/Ext.ClassManager/method/setDefaultPostprocessorPosition/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Insert this post-processor at a specific position in the stack, optionally relative to | ||
any existing post-processor |
3 changes: 3 additions & 0 deletions
3
...locale/en/Ext.ClassManager/method/setDefaultPostprocessorPosition/param/name.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The post-processor name. Note that it needs to be registered with | ||
<a href="#!/api/Ext.ClassManager-method-registerPostprocessor" rel="Ext.ClassManager-method-registerPostprocessor" class="docClass">registerPostprocessor</a> | ||
before this |
2 changes: 2 additions & 0 deletions
2
...cale/en/Ext.ClassManager/method/setDefaultPostprocessorPosition/param/offset.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The insertion position. Four possible values are: | ||
'first', 'last', or: 'before', 'after' (relative to the name provided in the third argument) |
Empty file.
1 change: 1 addition & 0 deletions
1
...onf/locale/en/Ext.ClassManager/method/setDefaultPostprocessorPosition/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
this |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/setDefaultPostprocessors/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Set the default post processors array stack which are applied to every class. |
1 change: 1 addition & 0 deletions
1
...ale/en/Ext.ClassManager/method/setDefaultPostprocessors/param/postprocessors.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
The name of a registered post processor or an array of registered names. |
1 change: 1 addition & 0 deletions
1
docs/api.conf/locale/en/Ext.ClassManager/method/setDefaultPostprocessors/return.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
this |
6 changes: 6 additions & 0 deletions
6
docs/api.conf/locale/en/Ext.ClassManager/method/setNamespace/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Creates a namespace and assign the `value` to the created object | ||
|
||
Ext.ClassManager.setNamespace('MyCompany.pkg.Example', someObject); | ||
|
||
alert(MyCompany.pkg.Example === someObject); // alerts true | ||
|
Empty file.
Empty file.
2 changes: 2 additions & 0 deletions
2
docs/api.conf/locale/en/Ext.ClassManager/property/classes/desc.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
All classes which were defined through the ClassManager. Keys are the | ||
name of the classes and the values are references to the classes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Instantiate a class by either full name, alias or alternate name. | ||
|
||
If | ||
<a href="#!/api/Ext.Loader" rel="Ext.Loader" class="docClass" id="ext-gen1442">Ext.Loader</a> | ||
is | ||
<a href="#!/api/Ext.Loader-method-setConfig" rel="Ext.Loader-method-setConfig" class="docClass" id="ext-gen1340">enabled</a> | ||
and the class has | ||
not been defined yet, it will attempt to load the class via synchronous loading. | ||
|
||
For example, all these three lines return the same result: | ||
|
||
// alias | ||
var window = Ext.create('widget.window', { | ||
width: 600, | ||
height: 800, | ||
... | ||
}); | ||
|
||
// alternate name | ||
var window = Ext.create('Ext.Window', { | ||
width: 600, | ||
height: 800, | ||
... | ||
}); | ||
|
||
// full class name | ||
var window = Ext.create('Ext.window.Window', { | ||
width: 600, | ||
height: 800, | ||
... | ||
}); | ||
|
||
// single object with xclass property: | ||
var window = Ext.create({ | ||
xclass: 'Ext.window.Window', // any valid value for 'name' (above) | ||
width: 600, | ||
height: 800, | ||
... | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Additional arguments after the name will be passed to | ||
the class' constructor. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The class name or alias. Can be specified as `xclass` | ||
property if only one object parameter is specified. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Convenient shorthand, see | ||
<a href="#!/api/Ext.ClassManager-method-instantiateByAlias" rel="Ext.ClassManager-method-instantiateByAlias" class="docClass" id="ext-gen1357">Ext.ClassManager.instantiateByAlias</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The class name to create in string dot-namespaced format, for example: | ||
'My.very.awesome.Class', 'FeedViewer.plugin.CoolPager' | ||
It is highly recommended to follow this simple convention: | ||
- The root and the class name are 'CamelCased' | ||
- Everything else is lower-cased |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Optional callback to execute after the class is created, the execution scope of which | ||
(`this`) will be the newly created class itself. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
The key - value pairs of properties to apply to this class. Property names can be of any valid | ||
strings, except those in the reserved listed below: | ||
- `mixins` | ||
- `statics` | ||
- `config` | ||
- `alias` | ||
- `self` | ||
- `singleton` | ||
- `alternateClassName` | ||
- `override` |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Convenient shorthand, see | ||
<a href="#!/api/Ext.ClassManager-method-getClass" rel="Ext.ClassManager-method-getClass" class="docClass" id="ext-gen1384">Ext.ClassManager.getClass</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Returns the displayName property or className or object. When all else fails, returns "Anonymous". |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
A convenient alias method for {@link Ext.Object#merge}. | ||
A convenient alias method for | ||
<a href="#!/api/Ext.Object-method-merge" rel="Ext.Object-method-merge" class="docClass" id="ext-gen1465">Ext.Object.merge</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Creates namespaces to be used for scoping variables and classes so that they are not global. | ||
Specifying the last node of a namespace implicitly creates all other nodes. Usage: | ||
|
||
Ext.namespace('Company', 'Company.data'); | ||
|
||
// equivalent and preferable to the above syntax | ||
Ext.ns('Company.data'); | ||
|
||
Company.Widget = function() { ... }; | ||
|
||
Company.data.CustomStore = function(config) { ... }; | ||
|
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The namespace object. | ||
(If multiple arguments are passed, this will be the last namespace created) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Convenient alias for | ||
<a href="#!/api/Ext-method-namespace" rel="Ext-method-namespace" class="docClass" id="ext-gen1424">Ext.namespace</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Returns the given value itself if it's not empty, as described in {@link Ext#isEmpty}; returns the default | ||
value (second argument) otherwise. | ||
Returns the given value itself if it's not empty, as described in | ||
<a href="#!/api/Ext-method-isEmpty" rel="Ext-method-isEmpty" class="docClass" id="ext-gen1503">isEmpty</a>; | ||
returns the default value (second argument) otherwise. |
Oops, something went wrong.