I'm following Brian Love's tutorial to create a
breadcrumb: http://brianflove.com/2016/10/23/angular2-breadcrumb-using-router/
In his layout code he has this line:
<a [routerLink]="[breadcrumb.url, breadcrumb.params]">{{breadcrumb.label}}
</a>
The 'breadcrumb.params' shown above does correctly extract the correct
value. My question is, how in my/his TypeScript code can I retrieve the
string value of 'breadcrumb.params'. For example in my particular case, at
one point 'breadcrumb.params' = "workflowId=0"
I've tried several approaches to get the value in my TypeScript code but
have been unsuccessful.
Any ideas?
Robert
--
You received this message because you are subscribed to the Google Groups
"Angular and AngularJS discussion" 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.