Hello,
How can we inject a Jetview in the body of window?
// window.js
{
view: "window",
top: 200, left:300,
body: { template:"Hello world" } // <= OK
}
Using a Jetview in the body doesn’t work:
// window.js
import MyJetView from "./test"
(...)
{
view: "window",
top: 200, left:300,
body: MyJetView // <= NOT OK
}
Still not OK:
// window.js
import MyJetView from "./test"
(...)
{
view: "window",
top: 200, left:300,
body: MyJetView.getRoot() // <= NOT OK
}
Still not OK
// window.js
import MyJetView from "./test"
(...)
{
view: "window",
top: 200, left:300,
body: MyJetView.getRoot().config // <= NOT OK
}
In the examples below, the window’s body is always static & simple content, but I’d like to use a Jetview for the window’s body:
Is it possible?