Function viewStateFromOpenParameters
Function
Type Signature
viewStateFromOpenParameters(
viewState: NutrientViewer.ViewState,
hash?: string | null | undefined,
): NutrientViewer.ViewState
viewState: NutrientViewer.ViewState,
hash?: string | null | undefined,
): NutrientViewer.ViewState
Type Declaration
Parameters
viewStateNutrientViewer.ViewStatehashstring | null | undefined = ...Returns
Merges the properties extracted from the location.hash into the NutrientViewer.ViewState.
Properties will be extracted following the PDF Open Parameters spec.
Currently, we only support the
pageparameter.