Class Archetype.Component
Archetype.Component
Class for loading components
Defined in: componentManager.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
new Archetype.Component()
|
| Method Attributes | Method Name and Description |
|---|---|
|
create(definition)
Creates a component definition
|
|
|
Extend(parentsNames, definition)
Creates a component definition by extending another one(s)
|
|
|
get(umn)
get a Archetype.Component by it's UMN
|
|
|
Setup Component facilities
constructor |
Method Detail
create(definition)
Creates a component definition
- Parameters:
- {HashMap} definition
Extend(parentsNames, definition)
Creates a component definition by extending another one(s)
- Parameters:
- {ArrayofString} parentsNames
- ex:["path.to.component1","path.to.component2"] latest override others in case of conflict
- {HashMap} definition
{Archetype.Component}
get(umn)
get a Archetype.Component by it's UMN
- Parameters:
- {UMNorString} umn
- object or realPath
- Returns:
- {Archetype.Component}
initialize()
Setup Component facilities
constructor
constructor