From 3cf29d8659ad338807a8ed5587a5fbb689334d25 Mon Sep 17 00:00:00 2001 From: Sergey Andrievskiy Date: Thu, 21 Feb 2019 15:29:34 +0300 Subject: [PATCH] feat(route-tabset): configurable routerLinkActiveOptions (#1239) --- .../components/route-tabset/route-tabset.component.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/framework/theme/components/route-tabset/route-tabset.component.ts b/src/framework/theme/components/route-tabset/route-tabset.component.ts index 5059335d44..270cddd9a3 100644 --- a/src/framework/theme/components/route-tabset/route-tabset.component.ts +++ b/src/framework/theme/components/route-tabset/route-tabset.component.ts @@ -77,7 +77,7 @@ import { convertToBoolProperty } from '../helpers';
  • @@ -102,6 +102,12 @@ export class NbRouteTabsetComponent { */ @Input() tabs: any[]; + /** + * Options passed to `routerLinkActiveOptions` directive which set on tab links. + * `{ exact: true }` by default. + */ + @Input() activeLinkOptions = { exact: true }; + /** * Take full width of a parent * @param {boolean} val