Toc
Toc
A page-aware table of contents generated automatically from eligible sections in the current page. Toc is a specialized composition rather than a standalone rendering primitive. It derives its navigation from the page and uses shared QP primitives to present that navigation consistently. By default, Toc renders as a position-aware StickyTray. It can also render an in-flow Card presentation. When placed inside a compatible container, the renderer may reuse the container supplied by its parent rather than emitting a redundant wrapper.
Properties
card
Renders an in-flow Card presentation of the table of contents. Defaults to false.
class
Optional styling hook.
sticky
Renders the table of contents using the StickyTray presentation. Defaults to true.
type
Identifies the Element type represented by this object.
"toc"
Example
Required
Full
examples are generated from the schema.