Documentation
Reference
2.1.55 (current version)
collection
interactivityModel
Interfaces

IDataManager

Extends IEventEmitter.

Interface for the custom data manager.

Constructor | Fields | Events | Methods

Constructor

IDataManager()

Fields

NameTypeDescription
eventsIEventManager

Event manager.

Inherited from IEventEmitter.

Events

NameDescription
change

Data change.

Methods

NameReturnsDescription
get(path, defaultValue)

Object

Returns value of data fields.

Events details

change

Data change.

Methods details

get

{Object} get(path, defaultValue)

Returns value of data fields.

Parameters:

ParameterDefault valueDescription
path*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: String

String with the property name; can contain '.'.

defaultValue*
[no-highlight[

* Mandatory parameter/option.

]no-highlight]

Type: Object

Default value.

* Mandatory parameter/option.

Example:

dataManager.get("icon.shadow.size", [10, 10]);