no message

This commit is contained in:
Diamantis Tziotzios 2024-02-08 17:37:39 +02:00
parent f6151b085f
commit 6f74689d3f
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import { ToCEntry } from '../../../table-of-contents/models/toc-entry';
import { ToCEntryType } from '../../../table-of-contents/models/toc-entry-type.enum'; import { ToCEntryType } from '../../../table-of-contents/models/toc-entry-type.enum';
import { LinkToScroll } from '../../../table-of-contents/table-of-contents.component'; import { LinkToScroll } from '../../../table-of-contents/table-of-contents.component';
import { VisibilityRulesService } from '../../visibility-rules/visibility-rules.service'; import { VisibilityRulesService } from '../../visibility-rules/visibility-rules.service';
import { MatExpansionPanel } from '@angular/material/expansion';
@Component({ @Component({
@ -71,4 +72,9 @@ export class DescriptionFormSectionComponent extends BaseComponent implements On
} }
} }
} }
onAskedToScroll(id: string) {
this.panelExpanded = true;
this.askedToScroll.emit(id);
}
} }