Creates a new Window.
Example
const platform = fin.Platform.getCurrentSync();
platform.createWindow({
uuid: 'test_app',
name: 'test_win',
layout: {
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"
}
},
{
type: "component",
componentName: "view",
componentState: {
name: "test_view_2",
url: "https://yahoo.com"
}
}
]
}
]
}
}).then(console.log);