AboutSupportDeveloper GuideVersion 41.131.100.38

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.

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".

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