Optionaloptions: {The page index of the page that should be made visible when triggering this action.
pageIndex is zero-based and has a maximum value of totalPageCount - 1.
OptionalsubActions can be chained by adding them to this immutable List.
OptionalnotSetValue: unknown
PDF action to go to a destination (page) in the current document.
It is an Immutable.Record and thus can be updated using
set(key, value), for example:action.set("pageIndex", 2);.A GoToAction can define a different
pageIndexin the same document. When clicking on it, we will update the scroll position to make the page visible. We will not update the zoom level in that case.Example
Create a new GoToAction