ComPDFKit Web SDK
    Preparing search index...

    Function setCustomNoteFilter

    • Shows only the annotations for which filter returns true in the notes list. Pass null to cancel.

      Parameters

      Returns void

      // Show only the current user's annotations
      const user = instance.Core.annotationManager.getCurrentUser();
      instance.UI.setCustomNoteFilter(annotation => annotation.Author === user);