The AeroGear namespace provides a way to encapsulate the library's properties and methods away from the global namespace
- Source:
Modules
Methods
-
<static> add(config) → {Object}
-
This function is used by the different parts of AeroGear to add a new Object to its respective collection.
Parameters:
Name Type Description config
String | Array | Object This can be a variety of types specifying how to create the object. See the particular constructor for the object calling .add for more info. - Source:
Returns:
The object containing the collection that was updated- Type
- Object
-
<static> add(config) → {Object}
-
This function is used by the AeroGear.DataManager to add a new Object to its respective collection.
Parameters:
Name Type Description config
String | Array | Object This can be a variety of types specifying how to create the object. See the particular constructor for the object calling .add for more info. Returns:
The object containing the collection that was updated- Type
- Object
-
<static> remove(config) → {Object}
-
This function is used internally by datamanager, etc. to remove an Object (store, etc.) from the respective collection.
Parameters:
Name Type Description config
String | Array.<String> | Array.<Object> | Object This can be a variety of types specifying how to remove the object. See the particular constructor for the object calling .remove for more info. - Source:
Returns:
The object containing the collection that was updated- Type
- Object
-
<static> remove(config) → {Object}
-
This function is used internally by datamanager to remove an Object from the respective collection.
Parameters:
Name Type Description config
String | Array.<String> | Array.<Object> | Object This can be a variety of types specifying how to remove the object. Returns:
The object containing the collection that was updated- Type
- Object