new DecksEvent(type, sender, data)
A custom event class for use within decks.js
Parameters:
Name | Type | Argument | Default | Description |
---|---|---|---|---|
type |
String | The type of event (e.g. "item:changed") | ||
sender |
* | The sender of the event (e.g. the object which is emitting the event) | ||
data |
* |
<optional> <nullable> |
{} | Custom data to include with the event (any type, Object, array, primitive, etc.) |
- Source:
Members
-
data
-
Custom event data (can be anything)
- Source:
-
sender
-
The sender of the event (the object that emitted the event)
- Source:
-
type
-
The type of event
- Source: