Page List
Listen for `pageList` and render a host-side page panel from the latest viewer snapshot.
The viewer emits `pageList` as an outbound event. The host should treat the payload as the latest page snapshot and re-render its page list UI whenever a new event arrives.
Each page record includes label and selection metadata, plus optional thumbnail data for preview rendering.
Listen for `pageList` and pass the returned page items directly into your own rendering function.
Listen for pageList
Render page previews
This is the shape your host UI should expect from the latest page snapshot.
Keep the page list code simple and event-driven.
- Do not call a separate thumbnail API.
- Do not maintain a second page-selection source of truth outside the viewer events.
- Use the latest `pageList` payload to refresh labels, thumbnails, and active state.
Use this full standalone HTML document when you want a minimal host page for the `pageList` workflow.
Open the focused demo to watch the page rail update live from `pageList` events.
File Page List Demo
Focused live demo for the pageList workflow.
Preview opens in a large modal for zoom-friendly review.
