IDataManager
Extends IEventEmitter.
Interface for the custom data manager.
Constructor | Fields | Events | Methods
Constructor
IDataManager()
Fields
Name |
Type |
Description |
Event manager. Inherited from IEventEmitter. |
Events
Name |
Description |
Data change. |
Methods
Name |
Returns |
Description |
Object |
Returns value of data fields. |
Events details
change
Data change.
Methods details
get
{Object} get(path, defaultValue)
Returns value of data fields.
Parameters:
Parameter |
Default value |
Description |
|
— |
Type: String String with the property name; can contain '.'. |
— |
Type: Object Default value. |
* Mandatory parameter/option.
Example:
dataManager.get("icon.shadow.size", [10, 10]);
Mandatory parameter/option.