Skip to content
Snippets Groups Projects
Commit d361fc20 authored by rhenck's avatar rhenck
Browse files

[editor] Generate event for tab change (selected page index)

parent 07862a7c
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,8 @@
<mat-drawer-content>
<mat-tab-group mat-align-tabs="start" class="mat-tab-fill-height"
[selectedIndex]="unitService.selectedPageIndex | async">
[selectedIndex]="unitService.selectedPageIndex | async"
(selectedIndexChange)="unitService.updatePageSelection($event)">
<mat-tab *ngFor="let page of (unitService.unit | async)!.pages; let i = index" label="Seite {{i+1}}">
<ng-template mat-tab-label>
<mat-icon *ngIf="page.alwaysVisible" class="page-alwaysVisible-icon">assignment</mat-icon>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment