Anatomy
Copy to clipboard
Usage
Items get data-active (the section being read) and data-contains-active; outline.activePath gives a breadcrumb. Clicking navigates with history, so Back returns. For papers without bookmarks, use Toc, which falls back to headings found in the text.
API reference
Outline.Root
Renders a <div> (or your element via child) and accepts its HTML attributes.
Data attributes
data-pdf-outlinedata-statusOutline.Tree
Renders a <div> (or your element via child) and accepts its HTML attributes.
Data attributes
data-depthdata-pdf-outline-groupdata-pdf-outline-rowdata-pdf-outline-spacerdata-pdf-outline-toggledata-pdf-outline-treedata-stateOutline.Item
Renders a <button> (or your element via child) and accepts its HTML attributes.
Data attributes
data-activedata-contains-activedata-depthdata-disableddata-pdf-outline-item