{ isRead, annotationId }.
The id of the annotation.
false marks the annotation unread.
const { annotationManager } = instance.Core;
annotationManager.addEventListener('annotationChanged', (annotations, action, { imported }) => {
if (action === 'add' && imported)
annotations.forEach(annotation => instance.UI.setAnnotationReadState({ isRead: false, annotationId: annotation.Id }));
});
Sets the read state of an annotation (all are read by default). Unread items show a blue frame and dot in the notes list and become read when clicked.