pdfrx_web
    Preparing search index...

    Function PdfOutlineTree

    • The document's outline (bookmarks) as a collapsible tree. Clicking a node jumps to its destination.

      Nodes are addressed by their path in the tree rather than by title, because PDFs regularly repeat titles ("Overview" under three different chapters) and collapsing one would otherwise collapse all of them.

      Parameters

      • __namedParameters: PdfOutlineTreeProps

        The destructured component props or operation options.

      Returns ReactNode

      The resulting ReactNode.

      <PdfOutlineTree defaultExpandedDepth={2} onNavigate={() => setDrawerOpen(false)} />