Class: SnapshotEvent

Grape2D. SnapshotEvent

new SnapshotEvent(id)

Grape2D.SnapshotEvent class.
Parameters:
Name Type Description
id number | string Event unique identifier.
Source:

Members

<private> id :number|string

Event unique identifier.
Type:
  • number | string
Source:

Methods

fire(param)

Fires the event.
Parameters:
Name Type Argument Description
param Object <optional>
An arbitrary object.
Source:

getId() → {number|string}

Gets the event id.
Source:
Returns:
Event id.
Type
number | string