Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two complex problems with our tabs directive
Message
From
13/11/2015 03:08:31
 
General information
Forum:
Javascript
Category:
Other
Miscellaneous
Thread ID:
01627325
Message ID:
01627396
Views:
30
>>Not directly applicable to your current implementation but you might look at these:
>>
>>http://christopherthielen.github.io/ui-router-extras/#/sticky
>>
>>https://github.com/rpocklin/ui-router-tabs
>
>Both look very nice form the quick glance. I think the second is similar to our implementation, may be my colleague was looking at that.

You could also look at the implementation of the basic tabset, tab and related directives in ui-bootstrap.js. That uses the 'content' approach I suggested.
I'm not sure your earlier argument re: 'lazy' instantiation stands up - on the flip side you are reloading each view every time it is selected (with the attendant state problems).
Previous
Reply
Map
View

Click here to load this message in the networking platform