Returns the ViewerContext (the active Viewer) from the nearest ViewerContextProvider. Throws when called outside one.
The current viewer context.
Returns the ViewerContext (the active Viewer) from the nearest ViewerContextProvider. Throws when called outside one.