import { Component, inject, input } from '@angular/core'; import { EpdfAnnotation, type AnnotationRef } from '@embedpdf/angular/annotation'; import { DrawingTools } from './drawing-tools'; @Component({ selector: 'app-annotation-actions', imports: [DrawingTools], template: ` @if (annotation.canCreate()) { } `, }) export class AnnotationActions { readonly annotationRef = input.required(); protected readonly annotation = inject(EpdfAnnotation); }