1
ipservant created
Hi,
We're using Angular in the front-end and need to create a new view that collects data from different AppServices. What we want to achieve:
- Views should be draggable (already found a solution with ngDraggable here) and non-modal
- Views should be multi-instance (user can open as many of them as he wants and maybe minimize them)
- Views persist while the user navigates pages in the main application
- Views get created when the user clicks on "Actions->View" from several RAD-generated tables or other places, so we need a 'global' function like
openNewView(someID)
to initiate a new view instance.
I've done a lots of research but am still not sure which way to go (and also still learning Angular).
Shall we append this to the app.compoment.ts? Using ViewChildren
maybe?
I'd be very thankful for some advice and even more for a few lines of code as hint on how to correctly implement/declare this view 'skeleton' in general so that it fits Zero best.
Thanks, AD
1 Answer(s)
-
0
Hi @ips-ad
You can render the components dynamically as explained in here https://angular.io/guide/dynamic-component-loader