@scaife-viewer/widget-toc
v0.6.2
Published
The tables of contents (TOC) widget displays TOC entries.
Downloads
22
Readme
widget-toc
The tables of contents (TOC) widget displays TOC entries.
Each entry has a label and a URI.
The URI can resolve to:
- Another TOC (e.g., a list of lists)
- The URN of a CTS passage
Possible implementations include:
- Browse folios from the Venetus A using the canonical book / line references (e.g. urn:cite:scaife-viewer:toc.iliad-folio-ref-root)
- Browse CTS versions using card / para milestones extracted from TEI XML (e.g. PerseusDL)
- Navigate between a commentary and edition in differing text groups (e.g. Eustathius’ Commentary on the Odyssey and Odyssey)
Configuration options
$scaife.config.showRelevantTOCs
Default value is true
.
If true
, only show TOCs relevant to the current passage.
Set to false
to show all TOCs.