The document's outline (bookmarks), reloaded whenever the document changes.
viewer.loadOutline() does not cache its result: it reads the worker's
physical outline, or returns the document's staged logical outline when one
is pending. This hook holds the result for you. Activate a node with
usePdfNavigation().goToDest(node.dest).
The document's outline (bookmarks), reloaded whenever the document changes.
viewer.loadOutline()does not cache its result: it reads the worker's physical outline, or returns the document's staged logical outline when one is pending. This hook holds the result for you. Activate a node withusePdfNavigation().goToDest(node.dest).