Toolbar
import {MatToolbarModule} from '@angular/material/toolbar';
@NgModule({
declarations: [
PillsGridComponent,
PillItemComponent
],
imports: [
MatToolbarModule
],
exports: [
PillsGridComponent,
PillItemComponent
]
}) <mat-toolbar color="primary" class="toolbar-pageback">
<div class="d-flex flex-ai-center w-below-sm-100 w-above-sm-60">
<button type="button" mat-mini-fab color="accent"
class="button-rounded" tabindex="0" (click)="closeCollectionPlayer()"
attr.aria-label="{{resourceService?.frmelmnts?.btn?.back}}">
<mat-icon aria-hidden="false" aria-label="Back icon" fontIcon="arrow_back"></mat-icon>
</button>
<div class="toolbar-pageback__heading" *ngIf="collectionData">
<h1 class="mat-title mb-0 sb__ellipsis" tabindex="0" role="heading" aria-level="2">{{collectionData.name}}</h1>
<div class="toolbar-pageback__metadata">
<div class="sub-title mat-body-1 mt-4 d-flex flex-ai-center" *ngIf="collectionTreeNodes">
<span *ngIf="collectionTreeNodes?.data?.board">{{collectionTreeNodes?.data?.board}}</span>
<span class="dot-divider" *ngIf="collectionTreeNodes?.data?.medium"></span>
<span *ngIf="collectionTreeNodes?.data?.medium">{{collectionTreeNodes?.data?.medium}}</span>
<span class="dot-divider" *ngIf="collectionTreeNodes?.data?.gradeLevel"></span>
<span class="sb__ellipsis whitespace-initial" *ngIf="collectionTreeNodes?.data?.gradeLevel">{{collectionTreeNodes?.data?.gradeLevel}}</span>
</div>
</div>
</div>
</div>
<div class="toolbar-pageback__actions" *ngIf="collectionData">
<button type="button" *ngIf="!isCopyAsCourseClicked" tabindex="0" (click)="onShareLink();sharelinkModal=true;"
mat-raised-button class="button-rounded mr-8">
<mat-icon aria-hidden="false" fontIcon="share"></mat-icon> {{resourceService?.frmelmnts?.lbl?.share}}
</button>
</div>
</mat-toolbar>



Last updated