I have a tab component TabComponent which has the following HTML template:
<!-- begin snippet: js hide: false console: true babel: false -->
<!-- language: lang-html -->
<a [routerLink]='link' [routerLinkActive]="[is-active]">link label</a>
<button>Close tab</button>
<!-- end snippet -->
I would like to access the value of the [routerLinkActive] property,
basically I would like to get a variable inside the component class that
indicates if this routerLink is active. How can I access it from within the
component class?
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.