Skip to content

API reference / Common / Destination

Type Alias: Destination ​

ts
type Destination = 
  | {
  explicit: {
     page: PageId;
     view: DestinationView;
  };
}
  | {
  named: string;
};

A place in a document (§12.3.2): a page and how to show it, or a name resolved through the document's /Dests or /Names tree.