Skip to content

Commit f9e3bfb

Browse files
committed
Adding example anno-page and anno-collection
1 parent 45501fe commit f9e3bfb

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

source/presentation/4.0/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,15 @@ Annotation Pages are used to group Annotations. In cases where many annotations
313313

314314
Each Annotation Page can be embedded or externally referenced. Clients should process the Annotation Pages and their items in the order given in the Container. Publishers may choose to expedite the processing of embedded Annotation Pages by ordering them before external pages, which will need to be dereferenced by the client. Order can be significant, however. Annotations are assigned an ascending [z-index](https://developer.mozilla.org/en-US/docs/Web/CSS/z-index) from the first annotation encountered. Annotations with a higher z-index will render in front of those with a lower z-index when displayed on a Canvas.
315315

316+
{% include code_example.html src="09_anno_page_1.json" %}
317+
316318
### Annotation Collection
317319

318320
Annotation Collections represent groupings of Annotation Pages that should be managed as a single whole, regardless of which Container or resource they target. This allows, for example, all of the Annotations that make up a particular translation of the text of a book to be collected together. A client might then present a user interface that allows all of the Annotations in an Annotation Collection to be displayed or hidden according to the user’s preference.
319321

320322
For Annotation Collections with many Annotations, there will be many pages. The Annotation Collection refers to the first and last page, and then the pages refer to the previous and next pages in the ordered list. Each page is part of the Annotation Collection.
321323

324+
{% include code_example.html src="09_anno_collection.json" %}
322325

323326
## Content Resources
324327

0 commit comments

Comments
 (0)