outline

open override val outline: List<KiteOutlineItem>

Format-neutral outline for KiteDocument viewers: tableOfContents with each href turned into a KiteBookmark target.

Building this lays nothing out, so a table of contents opens instantly on a book that is still paginating. pageIndex is filled in only once the book is fully laid out; navigate by target and the viewer prepares that one chapter on tap.