AboutSupportDeveloper GuideVersion 38.126.83.79

A base OpenFin event. All OpenFin event payloads extend this type.

OpenFin events are jointly discriminated by their topic and type keys. Within each topic, the type key is unique.

interface BaseEvent {
    topic: string;
    type: string;
}

Properties

Properties

topic: string

The "kebab-case" classname of the emitter that raised the event.

Remarks

OpenFin.Frame is represented as iframe.

type: string

The type of event that was raised. Equal to the typename of the event payload in "kebab case".

Remarks

Guaranteed to be unique within each topic, but can be repeated between topics (e.g. WebContentsEvents.CrashedEvent and ApplicationEvents.CrashedEvent).