Skip to content

Instantly share code, notes, and snippets.

@armorpreston
Last active September 8, 2020 18:17
Show Gist options
  • Save armorpreston/918e45cfec731663930202d8751602d8 to your computer and use it in GitHub Desktop.
Save armorpreston/918e45cfec731663930202d8751602d8 to your computer and use it in GitHub Desktop.
Brandkit / Components / Breadcrumbs
<breadcrumb #breadcrumb></breadcrumb>
<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>
<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>
<breadcrumb #breadcrumb
[hasQuickNav]="true"
[quickNavOptions]="quickNavOptions"
[quickNavSelection]="alert?.detectionId">
</breadcrumb>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment