Skip to content

Commit 75f21d7

Browse files
983153: Updated comments app.component.ts
1 parent db1a88b commit 75f21d7

File tree

1 file changed

+2
-0
lines changed
  • How to/Detect Changes in PDF Viewer Using Annotation and Form Field Events/src/app

1 file changed

+2
-0
lines changed

How to/Detect Changes in PDF Viewer Using Annotation and Form Field Events/src/app/app.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Import Angular core modules and Syncfusion PDF Viewer services
12
import { Component, ViewEncapsulation, OnInit,ViewChild} from '@angular/core';
23
import { PdfViewerComponent, LinkAnnotationService, BookmarkViewService, MagnificationService, ThumbnailViewService, ToolbarService, NavigationService, TextSearchService, TextSelectionService, PrintService, AnnotationService, FormFieldsService, FormDesignerService, PageOrganizerService,PdfViewerModule, TextSelectionStartEventArgs, AnnotationSelectEventArgs } from '@syncfusion/ej2-angular-pdfviewer';
34
import { SwitchComponent, SwitchModule } from '@syncfusion/ej2-angular-buttons';
@@ -34,6 +35,7 @@ export class AppComponent {
3435
ngOnInit(): void {
3536
// ngOnInit function
3637
}
38+
// Event handler for all viewer-related
3739
public triggerEvent(e: any): void {
3840
console.log('Changes are observed in PDF Viewer!');
3941
}

0 commit comments

Comments
 (0)