-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(module:breadcrumb): support auto generated breadcrumbs #2050
Conversation
Test and live demo could be a problem. Working on it. |
Codecov Report
@@ Coverage Diff @@
## master #2050 +/- ##
==========================================
+ Coverage 95.96% 95.97% +0.01%
==========================================
Files 473 473
Lines 11516 11548 +32
Branches 1535 1540 +5
==========================================
+ Hits 11051 11083 +32
Misses 132 132
Partials 333 333
Continue to review full report at Codecov.
|
0e0e379
to
0cd3e24
Compare
<ng-container *ngIf="nzAutoGenerate"> | ||
<nz-breadcrumb-item *ngFor="let breadcrumb of breadcrumbs"> | ||
<a [href]="breadcrumb.url" (click)="navigateTo(breadcrumb.url, $event$event)">{{ breadcrumb.label }}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
attr.href
<ng-container *ngIf="nzAutoGenerate"> | ||
<nz-breadcrumb-item *ngFor="let breadcrumb of breadcrumbs"> | ||
<a [href]="breadcrumb.url" (click)="navigateTo(breadcrumb.url, $event$event)">{{ breadcrumb.label }}</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$event$event -> $event
Should change test when angular/angular#25837 is solved. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information