import { Component, inject } from '@angular/core'; import { EpdfAnnotation } from '@embedpdf/angular/annotation'; @Component({ selector: 'app-selection-count', template: `

{{ annotation.selected().length }} selected

`, }) export class SelectionCount { protected readonly annotation = inject(EpdfAnnotation); }