Skip to main content
Participant
June 19, 2023
Question

Data from `ANNOTATION_COUNT` event does not contain count oo rmatch documentation

  • June 19, 2023
  • 0 replies
  • 188 views

Using the following code: 

        const annotationManager = await previewFile.getAnnotationManager()
        annotationManager.registerEventListener(
          ({ data }) => {
            onTotalComments(data)
          },
          { listenOn: ['ANNOTATION_COUNT'] }
        )

 

As documented in this page, the data returned does not match what is expected. I would expect a number for the total number of comments. However, the returned value is `{ mentioned: undefined}`.

Thanks in advance!

    This topic has been closed for replies.