AboutSupportDeveloper GuideVersion 38.126.83.79

Generated when a child content is loaded into a browser.

interface ChildContentOpenedInBrowserEvent {
    disposition: string;
    features: string;
    frameName: string;
    name: string;
    parsedFeatures: Partial<WindowOptions>;
    rule: ContentCreationRule<ContentCreationBehavior>;
    topic: string;
    type: "child-content-opened-in-browser";
    url: string;
    uuid: string;
}

Properties

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-content-opened-in-browser"

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