Skip to content

Commit

Permalink
Merge pull request #715 from gotson/feat/expose-layout
Browse files Browse the repository at this point in the history
feat: expose publicationLayout in the reader
  • Loading branch information
aferditamuriqi authored Jan 31, 2024
2 parents 8bb77d1 + 10202b3 commit c006c64
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/reader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,10 @@ export default class D2Reader {
return this.annotationModule?.getAnnotations();
}

get publicationLayout() {
return this.navigator.publication.layout;
}

/** History */
get history() {
return this.historyModule?.history;
Expand Down

0 comments on commit c006c64

Please sign in to comment.