09-03-2015 11:24 AM
Hi
Can we assign an nx.ui.Application to a DOM object? Now the NeXt needs to use the whole web page and if want to use it inside another web page, we plug it in via iframe.
What if we have external web app and <div id="next-app"></div> inside of it. Can we assign NeXt application to this div and then 'attach' all the components inside of it?
Solved! Go to Solution.
09-04-2015 02:12 PM
You can use this.
var app = new nx.ui.Application();
app.container(document.getElementById('app'));
topo.attach(app);
09-04-2015 02:12 PM
You can use this.
var app = new nx.ui.Application();
app.container(document.getElementById('app'));
topo.attach(app);
09-05-2015 10:07 AM
Perfect! Thank you.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide