Methods
Emitter()
Base Events Emitter implementation.
- Source:
Type Definitions
callback(configopt, erroropt)
Callback for called method.
Parameters:
Name |
Type |
Attributes |
Description |
config |
Object
|
<optional>
|
result data
Properties
Name |
Type |
Attributes |
Description |
curr |
Object
|
<optional>
|
new property value (for example if event 'state' was emitted here will be new state value) |
old |
Object
|
<optional>
|
old property value |
time |
Object
|
<optional>
|
for cache reset |
item |
Record
|
|
record object (with applied changes) |
|
error |
Object
|
<optional>
|
error data
Properties
Name |
Type |
Description |
code |
Object
|
error code |
message |
Object
|
error text message |
|
- Source: