You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have nb-tabset with two tabs and one component in each tab. I want to lazy load the second component. The second component makes API call and I want to make that only if user clicks on the tab or the tab become active. The [lazyLoad]="{{true}}" or lazyLoad decorators do not work. Tried (changeTab) event or (click) but these do not fire either.
Current behavior: lazyLoad loads component instantly. (changeTab) and click do not fire.
Expected behavior: lazyLoad loads content when the tab is active and (changeTab) and (click) events should fire.
Issue type
I'm submitting a ... (check one with "x")
Issue description
I have
nb-tabset
with two tabs and one component in each tab. I want to lazy load the second component. The second component makes API call and I want to make that only if user clicks on the tab or the tab become active. The[lazyLoad]="{{true}}"
orlazyLoad
decorators do not work. Tried(changeTab)
event or(click)
but these do not fire either.Current behavior:
lazyLoad
loads component instantly.(changeTab)
andclick
do not fire.Expected behavior:
lazyLoad
loads content when the tab is active and(changeTab)
and(click)
events should fire.Related code:
Other information:
Angular, Nebular
The text was updated successfully, but these errors were encountered: