AboutSupportDeveloper GuideVersion 34.117.78.11

Interface ContentCreationRule<T>

A rule for creating content in OpenFin; maps a content type to the way in which newly-opened content of that type will be handled.

Type Parameters

Hierarchy

  • ContentCreationRule

Properties

behavior: T

Behavior to use when opening matched content. The value could be 'view' | 'window' | 'browser' | 'block'.

data?: unknown

custom property

match: string[]

List of match patterns that indicate the specified behavior should be used

options?: T extends "window"
    ? Partial<WindowOptions>
    : T extends "view"
        ? Partial<ViewOptions>
        : never

Options for newly-created view or window (if applicable).