Type alias ContentCreationRule<T>

ContentCreationRule<T>: {
    behavior: T;
    match: MatchPattern[];
    options?: T extends "window" ? Partial<WindowOptions> : T extends "view" ? Partial<ViewOptions> : never;
}

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.

Property

'view' | 'window' | 'browser' | 'block'

Property

List of match patterns.

Property

Window creation options or View creation options.

Type Parameters

Type declaration

  • behavior: T

    Behavior to use when opening matched content.

  • match: MatchPattern[]

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

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

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

Generated using TypeDoc