import { Component, inject, input } from '@angular/core'; import { EpdfComments, annotationKey } from '@embedpdf/angular/annotation'; import type { EpdfStage } from '@embedpdf/angular/stage'; /** Next to ``: ``. */ @Component({ selector: 'app-thread-links', template: ` @for (thread of comments.threads(); track annotationKey(thread.root.ref)) { } `, }) export class ThreadLinks { readonly stage = input.required(); protected readonly comments = inject(EpdfComments); protected readonly annotationKey = annotationKey; }