Have notes panel visible when loading a document

22 views
Skip to first unread message

Matt Parizeau

unread,
Sep 21, 2017, 6:34:47 PM9/21/17
to PDFTron WebViewer
Q:

Is there a way to have the notes panel visible when a document is loaded. There doesn't seem to be an option in the PDFTron.WebViewer constructor.

A:

You can add the following code to a config file:

$(document).on('documentLoaded', function() {
  readerControl.showNotesPanel(true);
});
Reply all
Reply to author
Forward
0 new messages