AboutSupportDeveloper GuideVersion 47.154.100.2
OpenFin JavaScript API
    Preparing search index...

    Interface InitLayoutOptions

    interface InitLayoutOptions {
        container?: HTMLElement;
        containerId?: string;
        layoutManagerOverride?: LayoutManagerOverride<LayoutSnapshot>;
    }
    Index
    container?: HTMLElement

    The HTMLElement where the window's Layout should be initialized. We recommend using a div element.

    containerId?: string

    use container HTMLElement instead

    The id attribute of the container where the window's Layout should be initialized. If not provided then an element with id layout-container is used. We recommend using a div element.

    layoutManagerOverride?: LayoutManagerOverride<LayoutSnapshot>

    An override callback used to instantiate a custom LayoutManager. When present, will enable Multiple Layouts. The callback should return a class.

    NOTE: Unlike the Platform Provider overrideCallback and interopOverride, this override should return a class, not an instance