-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(tabset): lazy loading #2827
Conversation
@yggg @evtkhvch Maybe I misunderstood, but the example still doesn't work for me.
Will still resolve both observables :/ |
This doesn't work for me either. All the the content in the individual components gets loaded when the whole tabset does
|
@mikejobson Hey Mike I've been using this little directive I wrote for my application. https://gist.github.com/Liberatys/75caba5a8b5c5ef010289fe86f7fa828 maybe it helps you as well. |
@Liberatys thankyou. That worked a treat! |
@mikejobson I think this should solve our problem :D #3049 |
@Liberatys , thanks! This directive helped us too! |
@vanavaraVL No worries! If nebular merges my open pr you can also use the nebular provided directive ^^ Less code for you to maintain in your project. |
Please read and mark the following check list before creating a pull request:
Short description of what this resolves:
Closes #1827
Closes #1820
nbTabContent
directivelazyLoad
property inNbTabComponent
is deprecatedinit
property inNbTabComponent
is deprecatedhow to use: