Last active
September 8, 2020 18:17
-
-
Save armorpreston/918e45cfec731663930202d8751602d8 to your computer and use it in GitHub Desktop.
Brandkit / Components / Breadcrumbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<breadcrumb> | |
<ng-container breadcrumb-override> | |
<a routerLink="../compliance?active-tab=policies"> | |
<i class="i ico ico-chevron-left"></i> | |
Back to Policies | |
</a> | |
</ng-container> | |
</breadcrumb> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<breadcrumb #breadcrumb | |
[customBreadcrumbTemplates]="[null, sectionCrumb, titleCrumb]"> | |
</breadcrumb> | |
<!-- Breadcrumb overrides --> | |
<ng-template #sectionCrumb>Demo</ng-template> | |
<ng-template #titleCrumb> | |
<ng-container *ngIf="alert"> | |
{{ alert.description.slice(0, 50) }}... | |
</ng-container> | |
</ng-template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment