Tutorial: Layout.createWindow

Layout.createWindow

Creates a new Window.

Example

    fin.Layout.createWindow({
        uuid: 'test_app',
        name: 'test_win',
        layoutConfig: {
            content: [
                {
                    type: "stack",
                    content: [
                        {
                            type: "component",
                            componentName: "view",
                            componentState: {
                                name: "test_view_1",
                                url: "https://example.com"
                            }
                        },
                        {
                            type: "component",
                            componentName: "view",
                            componentState: {
                                name: "test_view_2",
                                url: "https://yahoo.com"
                            }
                        }
                    ]
                }
            ]
        }
    }).then(console.log);