Lazy loading angular components with ngx-bootstrap TabsModule


I’m using the TabsModule from gx-bootstrap in my angular app. Each tab has an angular component contained within it. When the page loads and, by default, opens the first tab all the other tabs are also loaded. Is there a way to lazy load the tabs which are displayed/selected yet, or at least refresh them once the tab has been selected for view?

Thanks for any help in advance

Source: Angular Questions

Categorized as angular, lazy-loading, ngx-bootstrap Tagged , ,


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Still Have Questions?

Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us