Skip to content

Added get content on different annotation pages#87

Open
stephenwf wants to merge 1 commit intomainfrom
feature/get-content-by-index-id
Open

Added get content on different annotation pages#87
stephenwf wants to merge 1 commit intomainfrom
feature/get-content-by-index-id

Conversation

@stephenwf
Copy link
Copy Markdown
Member

Fixes #86

Added:

  • canvas.getAnnotationPageIndexById(' ... ')
  • canvas.getContent('http:// ... /annotation-page-1 ') - index by annotation page id
  • canvas.getContent(1) - content by annotation page index
  • canvas.getAnnotationTotalPages() - total number of annotation pages

Could be improved to return a structure for the pages themselves instead of an array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Canvas.getContent() cannot get content on second and later AnnotationPage

1 participant