Class: PDFHistory

PDFHistory(options)

new PDFHistory(options)

Parameters:
Name Type Description
options PDFHistoryOptions
Source:

Members

popStateInProgress :boolean

Indicating if the user is currently moving through the browser history, useful e.g. for skipping the next 'hashchange' event.
Type:
  • boolean
Source:

Methods

back()

Go back one step in the browser history. NOTE: Avoids navigating away from the document, useful for "named actions".
Source:

forward()

Go forward one step in the browser history. NOTE: Avoids navigating away from the document, useful for "named actions".
Source:

initialize(params)

Initialize the history for the PDF document, using either the current browser history entry or the document hash, whichever is present.
Parameters:
Name Type Description
params InitializeParameters
Source:

push()

Push an internal destination to the browser history.
Parameters:
Type Description
PushParameters
Source:

pushCurrentPosition()

Push the current position to the browser history.
Source:

reset()

Reset the current `PDFHistory` instance, and consequently prevent any further updates and/or navigation of the browser history.
Source: