new Event(target, type)
Create an event object. This is the internal constructor used when the viewer emits any event. This object describes the common attributes of all events. Augmented, event-specific, values can be found in the descriptions of each event. See IPCC.EventType for specific events.
Parameters:
Name | Type | Description |
---|---|---|
target |
IPCC.ViewerControl | The event target is the viewer where the event originated. |
type |
string | The name of the event type. |