Constructor
new EventGravityDigital($type, $code)
- Description:
- Creates a new gravity digital event.
- Source:
Example
const event = new EventGravityDigital(type, code);
Parameters:
Name | Type | Description |
---|---|---|
$type |
EVENT_TYPES.GRAVITY.GRAVITY_DOWN | EVENT_TYPES.GRAVITY.GRAVITY_UP | The event type. |
$code |
string | The event code. |
Members
code :string
- Description:
- Gets the event code.
- Source:
Gets the event code.
Type:
- string