ComPDFKit Web SDK
    Preparing search index...

    Variable NotesPanelSortStrategyConst

    NotesPanelSortStrategy: {
        AUTHOR: "author";
        COLOR: "color";
        CREATED_DATE: "createdDate";
        MODIFIED_DATE: "modifiedDate";
        POSITION: "position";
        STATUS: "status";
        TYPE: "type";
    }

    Names of the built-in sort strategies of the notes panel, as used by setNotesPanelSortStrategy.

    Type Declaration

    • ReadonlyAUTHOR: "author"

      Sorts by author name, with a separator per author.

    • ReadonlyCOLOR: "color"

      Sorts by annotation color, with a separator per color.

    • ReadonlyCREATED_DATE: "createdDate"

      Sorts by creation date, oldest first, with a separator per date.

    • ReadonlyMODIFIED_DATE: "modifiedDate"

      Sorts by the latest change of the note or its replies, newest first, with a separator per date.

    • ReadonlyPOSITION: "position"

      Groups notes by page, in document order (the default).

    • ReadonlySTATUS: "status"

      Sorts by review status, with a separator per status.

    • ReadonlyTYPE: "type"

      Sorts by annotation type, with a separator per type.

    instance.UI.setNotesPanelSortStrategy(instance.UI.NotesPanelSortStrategy.AUTHOR);