Returning to a specific tab

1 view
Skip to first unread message

Thomas Baine

unread,
Sep 28, 2017, 3:40:22 AM9/28/17
to Angular2
Hi folks,

I have a page that contains a set of tabs (Tab1, Tab2, Tab3) via the ngx-tabs component; Tab1 is open by default (presumably as it is the first one).  On Tab2 I have a link to a different page/route (call it "Details").  

Is it possible to set "things" up so that when a user who clicked "Details" from Tab2 subsequently clicks their browser's back button they are presented with Tab2 as the active tab and not Tab1?  I've looked at all (?) the tab components and none of them mention this functionality so I'm wondering if I'm looking in the wrong place to begin with.

Thanks/Tom
Reply all
Reply to author
Forward
0 new messages