Defines and exports components
- License:
- MIT
- MIT
- Source:
Methods
(static) exports(key, module, override)
Register the module and make sure his key is unique
- Source:
Parameters:
Name | Type | Description |
---|---|---|
key |
String
|
Module's unique identifier |
module |
Object
|
|
override |
Boolean
|
(static) models() → {Object}
Returns all the modules
- Source:
Returns:
- Type:
-
Object
All modules models
(static) notify(key, dataopt, cb)
Execute _callAction on all modules
- Source:
This:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
key |
String
|
Notify key | |
data |
Object
|
<optional> |
Bag of data |
cb |
function
|
Callback executed after all the notifications |
Returns:
this