ComPDFKit Web SDK
    Preparing search index...

    Function focusNote

    • Opens the notes tab, selects the annotation and starts editing it (the list scrolls to the item and focuses its reply box; sticky notes are edited in the on-page note editor). Uses the same flow as the annotation popup's Reply. Warns when the annotation is not found.

      Parameters

      • annotationId: string

        The annotation id.

      Returns void

      const [annotation] = instance.Core.annotationManager.getAnnotationsList();
      instance.UI.focusNote(annotation.Id);