AboutSupportDeveloper GuideVersion 38.126.82.61

Generated when a child View is created.

interface ChildViewCreatedEvent {
    childOptions: ViewOptions;
    disposition: string;
    features: string;
    frameName: string;
    name: string;
    parsedFeatures: Partial<WindowOptions>;
    rule: ContentCreationRule<ContentCreationBehavior>;
    topic: string;
    type: "child-view-created";
    url: string;
    uuid: string;
}

Properties

childOptions: ViewOptions

The options the child View was created with.

disposition: string
features: string

The features string passed to window.open()

frameName: string

The frame name passed to window.open()

name: string
parsedFeatures: Partial<WindowOptions>

The features string passed to window.open() converted to OpenFin window options

The rule which triggered this event. May be undefined on child-window-created where no rule corresponds to the child Window creation.

Note: It is only defined if the rules engine found a match for a user-supplied rule, not in the case of an api call or the default behavior.

topic: string

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

Remarks

OpenFin.Frame is represented as iframe.

type: "child-view-created"

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

url: string

The absolute url which triggered this event.

uuid: string