Function: decode()
ts
function decode(hash): ViewerStateV1;Defined in: src/serialization/ViewerState.ts:153
Decode a URL hash fragment string back into a ViewerStateV1. Throws on invalid input, corrupted data, or unsupported version.
Parameters
hash
string